error running jsp, mysql application

K

KK

hello

i am having a jsp page which is connecting to a mysql database, but
when i am running it on localhost its giving following error on the
browser

Page start exception - com.mysql.jdbc.Driver


how to deal with it?
 
A

Arne Vajhøj

KK said:
i am having a jsp page which is connecting to a mysql database, but
when i am running it on localhost its giving following error on the
browser

Page start exception - com.mysql.jdbc.Driver

how to deal with it?

We would need to see some code and the exact error text
to be sure.

But I would say that the MySQL JDBC driver jar file not
being in classpath is a good guess.

foobar/WEB-INF/lib is where you should add it to make
it available for this web app.

shared/lib is where you should add it to make it available
for all web apps in Tomcat (other servers have similar
dirs).

Do not put it in the Java extension dir.

Arne
 
L

Lew

We would need to see some code and the exact error text
to be sure.

But I would say that the MySQL JDBC driver jar file not
being in classpath is a good guess.

Roughly the same answer the OP got the other time they asked this
question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top