This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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.
 
jQuery in Action, 2nd edition
 
subject: How to redirect to a new url from Action class with post method?