This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / Does session work in WebSphere Test Environment of VisualAge for Java 3.5?I am trying to write a servlet which creates session and a jsp
component will use this session. But when I test them in WebSphere Test Environment, it seems that jsp component can't get the session object. Does the session instance disappear so quickly? Who can tell me how long a inactive session object will stay in WTE?
Environment I am using:
VisualAge for Java 3.5 (support JDK1.2.2)
WebSphere Studio 3.5
WebSphere Test Environment
Thanks in advance.
Marco
-marcow(UserMarco);
2000-10-26
{477}
(#12153@0)
-
Suggest you abandon visual age for Java and use Jakarta-tomcatSince you are testing servlet and jsp, I suggest you use Tomcat. It is really a nice tool.
-jabber(jabber);
2000-10-26
{90}
(#12181@0)
-
I made a mistakeWhen I called method request.getSession () instead of request.getSession (true);
So stupid!
Now, it's working.
I don't like WebSphere, but I have to use it.
-marcow(UserMarco);
2000-10-26
{161}
(#12208@0)
-
IBM Websphere Suite is clumpsy.
-jabber(jabber);
2000-10-26
{892}
(#12214@0)