tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren Lee Deliang" <just_dar...@hotmail.com>
Subject DB Question
Date Mon, 12 Jun 2000 15:44:31 GMT
to connect to a db from jsp i need to do the following:

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection(url, "myLogin", "myPassword");

question is where do i put them, in my jsp, bean or what? thanks

Darren
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message