• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

forward from one action to another?

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic