Hi, 

I have to actions, action1 and action2, 

<action
    path="/action1"
    type="JavaCodeAction1"
    name="action1Form"
    scope="request"
    validate="true">
    <forward name="success" path="action1"/>
    <forward name="default" path="/home.do"/>
</action>           
         

<action
    path="/action2"
    type="JavaCodeAction2"
    name="action2Form"
    scope="request"
    validate="true">
    <forward name="success" path="something"/>
    <forward name="default" path="/home.do"/>
</action>

Inside action1, 

    protected ActionForward execute(
         ActionMapping mapping, 
         ActionForm form,
         HttpServletRequest request,        
         HttpServletResponse respose)
            throws Exception {
  
         String id = 100; //or other number
         ....

    }

Once action1 is successful, I would like to call
action2 with the link action2.do?id=100. However, I do
not know how to pass the parameter "id" to action2. 

Could anyone help?

Thanks,

qq


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to