you can set the path variable in the session and get it from theRequestHandler page, since when the form is submited only, the hiddenvariables are passed to next page, not for the link. or you may give thelink as">preview