Howdy, Hopefully you're not accessing DBs from a JSP at all ;) Use servlets if you can, and keep the JSPs for presentation. But you have to, an accessor bean is probably better.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Mart�n Mauri [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 01, 2003 9:47 AM >To: Tomcat Users List >Subject: Accessing databases... > >Hi, could anyone tell me which's the best way to access databases within a >tomcat webapp?? is it better to use beans or scriptlets? > >thanks... > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
