I am trying to pass a parameter between two actions and running into
trouble.

I call action 1 like this: /Action1.do?rec_num=1

Action1 does some processing and when complete it forwards via an
ActionForward to Action2 as such:

<forward name="action2" path="/Action2.do"/>

Action2 has no way to retrieve the parameter originally passed in to the
first action, "rec_num". When I try to grab it using request.getParameter()
I get a NPE.

I also tried setting it as a request attribute and that didn't work. Session
might work but I am trying not use sessions.

Any ideas on what I can do?

Thanks,
Hunter


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

Reply via email to