File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to redirect to a new url from Action class with post method?