why don't you make just one servlet???? and from this you can foward to
jsp's and all the sessions will be visible....
If you don't wanna put all the code in one servlet (what is right) make
some classes that deal wiyh your business.

At 10:47 29/1/2002 -0800, you wrote:
>I am using Cookies to keep the sesison information.  I am using servlets
>to preform some autheication for a standalone program.  From the
>standalone program(which is in Java), I also pop up a browser window and
>want it to login automatically to some JSP pages, in other words I want
>the session to carry over.  For the intial JSP login I will pass the
>sessionid as part of the URL.  How can I make sure that the servlet and
>the jsp pages are in the same context?
>
>The servlet is stored under ROOT/WEB-INF/classes/
>
>
>>> I have sessions setup for a couple of different servlets.  For some
>>> reason the session that are created using one servlet are not
>>> valid in a
>>> different servlet.  Is there a way to make this happen?
>>
>>Assuming when you say servlet you mean jsp page (which is slightly
>>different):
>>
>>If they are in the same context they should be.  You need to give us
>more
>>information.
>>
>>1) Have you got cookies enabled, and/or are you using encodeURL?
>>2) Are they in the same context?
>>3) Err...
>>4) That's it.
>>
>>Justin.
>>--
>>You're only jealous cos the little penguins are talking to me.
>
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
Emerson Cargnin
TRE-SC
Setor de Desenvolvimento 
Tel: (48) 251-3700 - Ramal 3134

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to