Hi ,

        Im using a Bean with scope="session" as follows.

<jsp:useBean id="test" scope="session" class="MyPack.Mybean"/>

I am using the same bean in many JSP pages.

The Bean has a constructor which I expect to be called Only once for a
session created.

But the Constructor is getting called for each JSP page I access.Im also
using same 'id' value (in useBean tag) in all jsp pages.

Im using tomcat3.2.1. Can anybody clarify ..where the Problem is??

thanx in adv,
deeps

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to