[Advanced-java] addHeader/setHeader Problem in JSP and Servlets.
Ethan Hunt
prabhatr7 at hotmail.com
Fri Nov 25 01:14:05 PST 2005
I dont think there is a method called setParameter() in httpservletrequest
interface.
>From: Panos Konstantinidis <girionis at yahoo.com>
>To: Ethan Hunt <prabhatr7 at hotmail.com>,
>advanced-java at lists.xcf.berkeley.edu
>Subject: Re: [Advanced-java] addHeader/setHeader Problem in JSP and
>Servlets.
>Date: Fri, 25 Nov 2005 01:08:51 -0800 (PST)
>
>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/
_________________________________________________________________
One and only Ash. Find out all about her. Only on MSN Search
http://server1.msn.co.in/profile/aishwarya.asp
More information about the Advanced-java
mailing list