This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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