tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A Yang <ayang...@yahoo.ca>
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"
scope="session">
<jsp:setProperty name="myBean" property="*"/>
</jsp:useBean>

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,
Andy



_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca

Mime
View raw message