Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

How to change a value of request parameter

Ken H

2003-12-08


Hi all.

Is there any way to change a value of request parameter from servlet?

I understand that I can get a value of request parameter with the method
'getParameter()'
which is in 'HttpServletRequest'.
I have a situation here that I need to change a value of request parameter
from servlet
and then forward the request to a JSP.

I know that I can get or set 'attributes' with 'getAttribute()' and
'setAttribute()',
but there already exits JSPs in which parameters are gotten through the
'getParameter()'
method and I can't change the code of the JSPs.
I can't find a method like 'setParameter()'.

Does anyone know how I can change a value of request parameter dynamically
in servlet?

Any help will be appreciated.

Regards
Ken H

_________________________________________________________________
$BM'C#$H (B24 $B;~4V%[%C%H%i%$%s!V (BMSN $B%a%C%;%s%8%c!<!W!":#$9$0%@(protected)
http://messenger.msn.co.jp

===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".


©2008 junlu.com - Jax Systems, LLC, U.S.A.