Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
How to redirect to a new url from Action class with post method?
posted 6 years ago
In my action class am generating a new url which i need to redirect with Post method.
With the below code am able to redirect to the page
ActionForward forward=mapping.findForward("success"); String str="http://www.google.com" return new ActionForward(str, true);
But i need to redirect with post method so that user cant see the url and also if possible I would like to open in a new browser.
It is sorta covered in the
JavaRanch Style Guide
Custom Action Forward in Struts
Redirect to a Different context
Adding Dynamic parameters to Action Forward in struts
Action Chaining and request paramters
URL changing problem