[Advanced-java] addHeader/setHeader Problem in JSP and Servlets.
Panos Konstantinidis
girionis at yahoo.com
Fri Nov 25 01:08:51 PST 2005
You need to set the parameter in the request. You do a request on a server and
you use the setParameter() method to set the parameter you want before the
request leaves the client. Then on the server you read the parameter() of the
request object and you use the response to redirect the user to the proper page
based on the value of the parameter.
BTW I *think* that if you have your server in a clustered environment you might
as well use the session object since that session is replicate across clusterd
servers.
--- Ethan Hunt <prabhatr7 at hotmail.com> wrote:
> How can I setparameter on response?
> As far as I understand, I can pass as query string right? but in that case
> the user will get to know what to pass in the URL.
>
> I guess I wont be able to restrict the user using query string.
>
> thnx and regards
> Prabhat Rana
>
>
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
More information about the Advanced-java
mailing list