tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A Yang <>
Subject Question about sessions
Date Fri, 16 Feb 2001 23:05:09 GMT
If I instantiate a javabean from a JSP: 

<jsp:useBean id="myBean" class="com.mycorp.somebean"
<jsp:setProperty name="myBean" property="*"/>

and hand off control to a servlet where I retrieve the
session using:

HttpSession session = req.getSession(false);

Shouldn't session.isNew() return "false" because the
session already exists?

Thanks and regards,

Do You Yahoo!?
Get your free address at

View raw message