Or HttpServletRequest.setAttribute(String, Object)

So far from what I read in the Servlet API draft 2.2, there will be another
method such as HttpServletRequest.setParameter(String, Object) that would
add a parameter to the query string.

-----Original Message-----
From: Leong Mun Wai [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 02, 1999 10:23 AM
To: [EMAIL PROTECTED]
Subject: Re: Adding a parameter to a Request ???


Hi,

Try pageContext.setAttribute(String, Object, PageContext.REQUEST_SCOPE)?

regards,
Mun Wai

> Sylvain Roche wrote:
>
> Hi
>
> I don't know if somebody has already answered this question, or if it
> has already been asked. I guess it must have, but it would be helpful
> if so had the solution.
>
> I want to redirect in some cases the response of a jsp page to another
> one. In order to do that, and because I want to keep the parameters of
> the request, I use a jsp:forward. This works fine, except that I want
> to add one parameter. It suddenly becomes more complicated, as long as
> there is no way (maybe I didn't find it) to do such thing as a
> setParameter in a HttpServletRequest.
>
> Is there a smart way to do that ?
>
> Thanks in advance
> Sylvain

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to