wood burning stoves 2.0*
The moose likes Struts and the fly likes How to redirect to a new url from Action class with post method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to redirect to a new url from Action class with post method?" Watch "How to redirect to a new url from Action class with post method?" New topic
Author

How to redirect to a new url from Action class with post method?

Kartik Talasu
Ranch Hand

Joined: Aug 21, 2009
Posts: 98
Hi All,

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


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 light bulbs.
 
subject: How to redirect to a new url from Action class with post method?
 
Similar Threads
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