Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
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.
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