Hi Xavier,
        You need to include
                HttpSession session = req.getSession(true);
        in your second servlet.

Manu.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  MANU TAYAL                   |      WIPRO INFOTECH                     #
#                               |      30,Mission Road, 1st Main,         #
#  Software Engineer            |      S.R.Nagar,                         #
#                               |      Bangalore-560027,India.            #
#  Technology Solutions         |                                         #
#                               |      TEL: 080-2241730/2275590           #
#  WIPRO INFOTECH.              |      EXT: 3322,3321,3323                #
#                               |   E-Mail: [EMAIL PROTECTED]       #
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Fri, 30 Apr 1999, Xavier wrote:

> Hi all !!
>
> I have a problem with sessions,and I need your help please.
>
>  I do the following :
>
> " HttpSession session = req.getSession(true);
>
>   session.putValue("login.target", HttpUtils.getRequestURL(req).toString()); "
>
> In one servlet, and in another one I just do :
>
> String target =(String) session.getValue("login.target");
>
> and it works well with Explorer, but it doesn't with Netscape, I always have
>
> target=null.
>
> Does anyone why ??
>
> Thanks in advance !!!
>
>
>
>

___________________________________________________________________________
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