> Heres wut I am trying to do
>
> Login.html--->create session--->pass username,pwd to Login Servlet---->Login
> Servlet instantiates my DbCOnnection Object---->Then redirects to Query.Jsp
>
> Just a note that we are not going to be Connection pooling.
>
> Can I pass the DbConnection Object through the session.putValue ?? Also does
> my login servlet has to implement SingleThreadModel??
>
This is not a good practice. Contents of sessions should be
serializable, and connections are not. Imagine a distributed servlet/jsp
cluster!
Regards,
Subrahmanyam
-----------------------------------------------------------------------------
Subrahmanyam A.V.B.
http://www.Subrahmanyam.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html