A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
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.
I agree. Here's the link:
subject: How to redirect to a new url from Action class with post method?
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015