Hi,

Sorry...

I should clarify that what I am trying to do is add a *parameter* to the
request, not an *attribute*...

Can it be done?

Jerome

> What's your request.getAttribute() code in Action2? The 
> Action1 looks OK.
> 
> Munchenberg, Jerome (DEH) wrote:
> 
> >Hiya,
> >
> >I'm using Struts 1.0.2.
> >
> >I have an action (Action1) which must forward to another 
> action (Action2)
> >and pass it a parameter aka:
> >
> >*** Action1 ***
> >
> >      // Display accession report for selected accession
> >      request.setAttribute("accession", accessionId);
> >      return mapping.findForward("accessionReport");
> >
> >Action2 has an associated action form with methods to 
> get/set an accession.
> >
> >For some reason, "accession" does not seem to get passed to 
> (and set in)
> >Action2.
> >
> >Am I doing the right thing here? If so, why don't it work! 
> If not, what else
> >can I do?
> >
> >Help!
> >
> >Jerome
> >
> >--
> >To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> >
> >
> >  
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to