Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Confused...about JDBC,  RSS feed

 
Suzana Shah
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I have been trying to get this JDBC running with Mysql database, my systems spec is as follows:
platform : Win98
Tomcat version 3.3
Mysql version mysql-3.23.38
JDBC Driver: mm.mysql-2.0.4-bin
JDK 1.3
Now i got tomcat running, and also the jsp examples running, mysql is also running fine on its own and i created a simple database with one table.
Now i have put the JDBC driver in the C:\jakarta-tomcat-3.3\lib directory. I didnt specify any classpath as Tomcat manages finding and loading classes itself.
Now i created a simple jsp file(Temp.jsp) where i want to display the fields from the mysql database table:
here is my code:


I m saving this Temp.jsp file in the root directory of tomcat:
C:\jakarta-tomcat-3.3\webapps\ROOT
But now, once i created the jsp file and the database, how to actually run all this?
What do i do next?
how do i test to see this is working,
Help
Suzana
[ Edited by Dave to format code ]
[ February 06, 2002: Message edited by: David O'Meara ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're problems are now with JSPs and no longer JDBC related so I am moving this thread to the JSP forum.
DOM
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!