|
-
December 27th, 2006, 10:01 PM
#1
redirect back to source page frma filter?
trying to get a filter to redirect to the refering page if it doesn't pass certain criteria. if it needs to return to the referer, I add values to the request.attributes object.
if I use request.getDispatcher(path).transer(request,response) the URL displayed is the 2nd page (which means other filters needed won't properly execute and a second submit from there leaves it thinking the refering page was 'itself'.
if I use response.redirect(referingPage) it's fine, but now the values I need that were passed in the attributes object are lost.
nutshelling:
I need it to return to the original page and still show the correct (original) URI and still be able to access parameters set from the filter.
suggestions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|