struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathew, Manoj" <>
Subject RE: Passing Parameters Between Actions
Date Mon, 07 Jul 2003 20:34:19 GMT
path="/" />


can use logic:equal if you are forwarding to a JSP

-----Original Message-----
From: Hunter Hillegas []
Sent: Monday, July 07, 2003 3:03 PM
To: Struts List
Subject: Passing Parameters Between Actions

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

I call action 1 like this: /

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

<forward name="action2" path="/"/>

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?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message