[Advanced-java] addHeader/setHeader Problem in JSP and Servlets.

Ethan Hunt prabhatr7 at hotmail.com
Fri Nov 25 01:15:56 PST 2005


the app servers are in a clustered environment, not the web server which 
serves the content. So there is no way i can get the session there.


>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/

_________________________________________________________________
Strike gold. MSN Hotmail wants to reward you. For checking mail. 
http://www.msn.co.in/gold



More information about the Advanced-java mailing list