struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billintx <billi...@gmail.com>
Subject Forward to different Form/JSP from one action
Date Tue, 18 Jul 2006 20:15:04 GMT
I'd like to do something like this:

<action path="/edit" type="com.ni.apps.nispecs.actions.EditAction" 
input="/pages/selectTemplate.jsp">
   <forward name="template1" path="/jsp/editTemplate1.jsp" />
   <forward name="template2" path="/jsp/editTemplate2.jsp" />
   <forward name="template3" path="/jsp/editTemplate3.jsp" />
</action>

Each template would require a different ActionForm?

Should I create and put the ActionForm in the request manually?

Should I chain this with another action, so i'd have <forward name="template1" 
path="/editTemplate1.do" /> , where editTemplate1 action has the correct 
ActionForm?

Any other ideas?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message