struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navjot Singh" <navjo...@net4india.net>
Subject RE: Passing parameter to another Action class using POST
Date Wed, 09 Jul 2003 07:55:14 GMT
1 simple way

+ map = request.getParameterMap()
+ request.getSession().setAttribute("past_req_data",map);
+ redirect to next action
+ request.getSession().getAttribute("past_req_data");
+ request.getSession().removeAttribute("past_req_data");

HTH
-navjot


|-----Original Message-----
|From: Rajesh Khater [mailto:rajesh.khater@wipro.com]
|Sent: Wednesday, July 09, 2003 1:03 PM
|To: Struts Users Mailing List
|Subject: Passing parameter to another Action class using POST
|
|
|
|Hi,
|
|I need to pass some parameters to another action class from my action
|class. I can do it using query String. But how can I send the parameters
|using HTTP POST programmatically ??
|
|Query strings also have some maximum length and my parameter values can
|get pretty lengthy.
|
|Thanks,
|Rajesh.
|
|**************************Disclaimer************************************
|
|Information contained in this E-MAIL being proprietary to Wipro Limited is
|'privileged' and 'confidential' and intended for use only by the individual
| or entity to which it is addressed. You are notified that any
|use, copying
|or dissemination of the information contained in the E-MAIL in any manner
|whatsoever is strictly prohibited.
|
|***************************************************************************
|
|---------------------------------------------------------------------
|To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
|For additional commands, e-mail: struts-user-help@jakarta.apache.org
|
|


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message