Hello,

I have a situation where I need to call an action and then following that action call 
another one before doing an Action Forward to a JSP page.

 From what I can tell there are various ways I could do this.

One is to simply specify this in the struts-config file ie 

<action path="/page1"
            type="Action1">
            <forward name="Success" path="page2"/>
    </action>

    <action path="/page2"
            type="Action2">
            <forward name="Success" path="resultpage"/>
    </action>

Another way would be to just call Action2 for page1 and have the action call the other 
action from within the class.

I have also thought of several other ways but what I really want to know is what is 
the best / correct way to handle this situation.







*************************
Brett Boswell
Director T�cnico
INTERACCION, C.I.M., S.L.
Julian Estevez 32 bajoa
36207 Vigo (Spain)
Tel: +34 986 447274
fax: +34 986 223506
*************************


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

Reply via email to