I need to pass some parameters to my forward,like that:
www.something/myapp/newslist.do?sysId=4
here is my action delaration:
<action path="/newscreate"
type="NewsCreateAction"
name="newsForm">
<forward name="success" path="/newslist.do"/>
</action>
<action path="/newslist"
type="NewsListAction">
<forward name="success" path="/NewsSystem/newslist
.jsp"/>
</action>
and here is my forward code in NewsCreateAction:
//I want to add some parameters here
// Forward control to the specified success URI
return (mapping.findForward("succ
ess"));
...i did'nt find this in Struts docs, and i'm too lazy today
to dig Struts sources, it's a friday ;)
Crossposted in JSP.