RE: Database connection going from servlet to a bean

2004-03-22 Thread Tom K
PROTECTED] Sent: Monday, March 22, 2004 1:42 PM To: Tomcat Users List Subject: RE: Database connection going from servlet to a bean Hi, >Mike thanks for the feedback, but is this the practical solution? For >example, I am using a connection pool, the init is only done once, the >bean does

RE: Database connection going from servlet to a bean

2004-03-22 Thread Mike Curwen
;s how I'd do it (and have done it *meep*) ;) > -Original Message- > From: Tom K [mailto:[EMAIL PROTECTED] > Sent: Monday, March 22, 2004 1:40 PM > To: 'Tomcat Users List' > Subject: RE: Database connection going from servlet to a bean > > > Mike thanks for

RE: Database connection going from servlet to a bean

2004-03-22 Thread Shapira, Yoav
Hi, >Mike thanks for the feedback, but is this the practical solution? For >example, I am using a connection pool, the init is only done once, the >bean does the processing, after the processing it done (that is the >beans "set" their properties) the results are forwarded to another jsp >for view

RE: Database connection going from servlet to a bean

2004-03-22 Thread Tom K
iewing, so where do I release my connection back into the pool? TIA Tom K. -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:31 PM To: 'Tomcat Users List' Subject: RE: Database connection going from servlet to a bean There is a jspIn

RE: Database connection going from servlet to a bean

2004-03-22 Thread Mike Curwen
There is a jspInit() method in a JSP that you can 'override' by doing: <%! public void jspInit() { } %> So the answer for 'how' is; "the same way" > -Original Message- > From: Tom K [mailto:[EMAIL PROTECTED] > Sent: Monday, March 22, 2004 12:58 PM > To: [EMAIL PROTECTED] > Subject: