struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kwok Peng Tuck <>
Subject Re: Passing parameter to another Action class using POST
Date Wed, 09 Jul 2003 08:08:49 GMT
You can set the attribute in the request as well.
String string1 = "Stuff" ;
request.setAttribute("Info", string1) ;

Then later in the other action class, just do :

String output = (String)   request.getAttribute("Info") ;

Rajesh Khater wrote:

>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.
>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:
>For additional commands, e-mail:

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

View raw message