Hi!
-----Original Message-----
From: Sam Rose <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, April 12, 1999 3:30 PM
Subject: Re: another dumb question from a blonde
>Thanks for that.
>
>You mentioned that a database connection should be in the init method.
>I was wondering how this would be possible if you different users
>logging in under different usernames and passwords, i.e. how to
>initiate the different passwords and usernames.
>
Than you should make the Connection to the database in the
service() method but you have to CLOSE it every time.
I have observed that is important to close the ResultSets,
Statements and Connections
Have a nice Day,
Andras
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html