> I am interested in passing URL parameters
when using the <jsp:forward> tag,> but I am sad to say that I don't
believe that this is possible.
>
> For example:
>
> <jsp:forward page="testpage.jsp?USERID=xyz" />
>
> Forwards me to testpage.jsp, but does not include USERID as a parameter in
> the request.
>
> What are my options here? Do I have to put the USERID in the session prior
> to "forwarding" and then retrieve it from the session?
>
> Any help is appreciated.
>
> Thanks,
>
> Cor
>
>
> For example:
>
> <jsp:forward page="testpage.jsp?USERID=xyz" />
>
> Forwards me to testpage.jsp, but does not include USERID as a parameter in
> the request.
>
> What are my options here? Do I have to put the USERID in the session prior
> to "forwarding" and then retrieve it from the session?
>
> Any help is appreciated.
>
> Thanks,
>
> Cor
>
you can use Request Dispatcher and set the user attribute to the parameter of userid and then forward the page to the new page
manoj
