This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes forward from one action to another? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "forward from one action to another?" Watch "forward from one action to another?" New topic
Author

forward from one action to another?

Busty Sinclair
Greenhorn

Joined: Jun 06, 2002
Posts: 23
I am trying to forward from one action to another, but the forward goes to the correct JSP byt bypasses the action, which sets relevant info for the page, so causing an error.

struts config


tiles

I've also tried using the '.do' I've seen here in other posts but had no success

Any help would be greatly appreciated
B.
Hernando
Greenhorn

Joined: Oct 08, 2002
Posts: 6
I am using something like:
<action path="/erd/response" type="com.mmmmm.AnswerHandler" name="response" scope="request">
<forward name="success" path="/erd/other.do" redirect="true"/>
</action>

<action path="/erd/evaluate" type="com.mmmmm.EvaluateAnswerHandler" name="evaluation" scope="request">
<forward name="success" path="/erd/response.do"/>
</action>

where the second action is forwarding to the first, I use the complete action path on the forward path.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: forward from one action to another?
 
Similar Threads
Change color of clicked link - tiles
Stop multiple posts
Struts Cancel Button submits the form
Struts - Tiles
ArrayI ndex OutOfBoundsException when page refresh