If the Session is Not found then it creates an new session else it uses the
current session object.

Cheers

Graham Cruickshanks
e-commerce director
www.itsnotrocketscience.com



-----Original Message-----
From: Paras Sharma [mailto:[EMAIL PROTECTED]]
Sent: 04 July 2000 18:32
To: [EMAIL PROTECTED]
Subject: session in useBean


hi guys

i am  making site for database access
i have used  one  connectionbean( serialized ) for connection  to database
now i am using the following   bean tag
 i have many jsp  pages  & in every page i  am using the same tag
now  my question is that  does this  session  mean for every page a
different
session will  be created or  the same  ?


<jsp:useBean id="sqlcon" scope="session" class="connection" />

what  is the advantage & advantage of using session over here

thanx for the help till now .

paras

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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