Check the servlet problem

Hi all,Please check out this thread and send me all possible solutions asaphttp://forum.java.sun.com/thread.jsp?forum=33&thread=253438This is very urgentThanks
[198 byte] By [servletforuma] at [2007-9-19]
# 1
Already answered.
DrClapa at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi,Thanks for u r reply.Yes u r reight it is answered but still i have problem with that solution.So go through it once again.THERE ARE ANY OTHER SOLUTIONS FOR THIS PROBLEM , LET MEKNOW ALL POSSIBLE SOLUTIONS FOR THIS.Thanks
servletforuma at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 3
Isn't one solution enough?
DrClapa at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 4
Okay, you put your servlet class into a library whose name ends in ".../WEB-INF/classes", right? So you put the jar file containing the driver into its sibling directory whose name ends in ".../WEB-INF/lib". As already stated in the other thread.
DrClapa at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 5
we are using Javawebserver2.0. In that there is no directory "web-inf"
servletforuma at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 6
Have you checked that mm.mysql.jdbc-1.2c is a jar file and contains org.gjt.mm.mysql.Driver.class? I checked the sourceforge site and that version is from early 2000 so you may want to upgrade to the latest version (2.0.13) which comes with instructions on how to install.
GrayMana at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 7
Thanks for u r replyi have that driver class file i my mm.mysql oku mean to say that i have to copy this class file to classes directory ofjavawebserer or any thing else more ...Please clarify me asap...b'cause we have to start the project asap
servletforuma at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 8

> Thanks for u r reply

> i have that driver class file i my mm.mysql ok

> u mean to say that i have to copy this class file to

> classes directory of

> javawebserer or any thing else more ...

> Please clarify me asap...b'cause we have to start the

> project asap

No. I'm saying that:

1). mm.mysql.jdbc-1.2c must be a valid jar file. Presumably its full name is mm.mysql.jdbc-1.2c.jar. Can you unjar it successfully? When you do, is org.gjt.mm.mysql.Driver.class present? I'm not suggesting that you copy Driver.class anywhere, just that you validate the jar file.

2)mm.mysql.jdbc-1.2c.jar should be in your .../WEB-INF/lib directory.

3) This is an old version of the driver. If this is a new project as you imply, why not use the latest version (same point applies to the JDK).

GrayMana at 2007-7-8 > top of java,Enterprise & Remote Computing,Web Tier APIs...