wood burning stoves 2.0*
The moose likes Struts and the fly likes Result (dispatch) in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Result (dispatch) in Struts2" Watch "Result (dispatch) in Struts2" New topic
Author

Result (dispatch) in Struts2

Paul Michael Serrano
Ranch Hand

Joined: Nov 22, 2004
Posts: 59
Is there a way that I could dispatch the result of my action to a different action? I'm trying to work with the struts.xml but I think it's not working fine.




-Paul
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

A "redirectAction" is the normal way to redirect to a different action. If you want to forward, you're limited to "dispatch", in which case you need the complete URL (bad idea), or use a "chain" result, which is probably an even worse idea.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Result (dispatch) in Struts2
 
Similar Threads
dispatch and redirect-action
While click on button action is not reach in LoginAction class
Can not Populate the form on combo box change
Jsp is not displaying in Struts2
How to perform operations like insert,delete,add,move next etc in jsp page?