Sorry, but that won't work, with servlet spec 2.2. It says in paragraph
7.3:

HttpSession objects must be scoped at the application / servlet context
level. The underlying
mechanism, such as the cookie used to establish the session, can be
shared between contexts, but
the object exposed, and more importantly the attributes in that object,
must not be shared between
contexts.


----- Original Message -----
From: M H Rao <[EMAIL PROTECTED]>
Date: Saturday, July 7, 2001 2:07 pm
Subject: problems with session.

> Hai,
>
>  I am using tomcat server.
>  I am running my servlets on one context   and jsps on different
> context.  I am facing problems with session.
>  It's giving null when i tried to
>  retrieve a session.
>
>  any body can help me ..
>
> thanks,
> regards,
> Rao
>
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http:
> Resources: http://java.sun.com/products/servlet/external-
> resources.htmlLISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to