I have a jsp that uses <html:link> to call an action that needs no input
(and hence no form) from a user, e.g. : <html:link page="/tacaReport.do">. I
then populate a resultant form within the action class and forward (on
success) to this form.

Should I set up my struts-config.xml like this :

    <!-- Produce the TACA report -->
    <action    path="/tacaReport"
               type="src.struts.reporting.TACAReportAction">
       <forward name="success"             path="/tacaReport.jsp"/>
       <forward name="failure"             path="/tacaReport.jsp"/>
    </action>

OR

like this :

    <!-- Produce the TACA report -->
    <action    path="/tacaReport"
               type="src.struts.reporting.TACAReportAction">
       <forward name="success"             path="/tacaReport.jsp"/>
       <forward name="failure"             path="/tacaReport.jsp"/>
    </action>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to