>>> "Chandrasekaran.V" <[EMAIL PROTECTED]> 24-May-00
7:23:35 PM >>>
>But the problem is that when the ControlServlet says
> session.getValue("putByProductServlet")
>i get a null in return.
>What is that i am doing wrong.
>To get the session i am using
session=request.getSession(false)
>and the session is first created by the ControlServlet
as soon as the user logs in.
Well.. if you haven't made a typo in describing your problem the
problem is that you are not creating the session.
ControlServlet:
request.getSession(false);
won't create the session, and neither will:
ProductServlet:
request.getSession(false);
The session has to be created before it can be used, so:
ControlServlet
request.getSession();
is probably what you want.
Nic Ferrier
___________________________________________________________________________
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