RedirectAfterPostFilter lets you easily implement Redirect after POST pattern in your web applications. The idea is very simple. You can map this filter to your controllers (servlets or JSP's) processing POST requests (e.g. proceeds HTML forms) and after the processing filter will redirect the original request to the url, determined by the referer header (back to the source of processed request). If this header is not available you can provide a default url for the redirection as an initial parameter for this filter.
See it here: http://www.servletsuite.com/servlets/redirectafterpost.htm
No comments:
Post a Comment