Hi Ced:
I am not sure of how good/bad the following suggestion is, but it's an idea:
How about setting a session variable to that initial connection object and then
reusing it in your other jsps?
Geeta
Chin Cedric Sung Kit wrote:
> hi,
>
> i have question on the database connection. i initialize my oracle-jdbc
>
> database connection in my LoginServlet. how do i re-use this connection
>
> in my other jsp pages, so that i will not have to open so many
> connections?
>
> i'm using apache-tomcat on NT workstation.
>
> thanks for any help/suggestions.
>
> peace,
> ced
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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