A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
How to redirect to a new url from Action class with post method?
Joined: Aug 21, 2009
Jan 27, 2010 07:47:17
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.
Don't get me started about those stupid
subject: How to redirect to a new url from Action class with post method?
URL changing problem
Action Chaining and request paramters
Adding Dynamic parameters to Action Forward in struts
Custom Action Forward in Struts
Redirect to a Different context
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014