Google is your friend... here's a quick hit:
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/ad/cjvjdbas.htm
...and another (although slightly older, still looks to be valid)...
http://www.cs.bham.ac.uk/~aps/syllabi/2004_2005/issws/h01/jdbc.html
...and yet another...
http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html
This last one might be the best, but all three should do the trick.
There is no fundamental difference between using JDBC from a servlet vs.
a straight Java app.
Frank
Steve R Burrus wrote:
Hi all. I am an admitted newbie when it comes to using a database
connection for a servlet to access. So can someone please tell me the
basics about how exactly I should go about doing this?? I have been very
much "stumped" about how I should do this for quite a long time now! I
just know that I should use 1 of 3 getConnection( ) methods to start to
do this and create a Connection object but little else.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]