Re: MySql driver not available in JSP.

2004-08-23 Thread James Black
[EMAIL PROTECTED] wrote:
Hi,
I have a class that uses the MySql driver for accessing the database. If
I run this class on its own then it works fine. But if I use the same
class in a JSP, then the driver is not found.
What is the reason?
 

You don't have the mysql jar file in the WEB-INF/lib directory, perhaps?
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: MySql driver not available in JSP.

2004-08-23 Thread anunay.ashish

Thanks. I put the jar in endorsed folder and it has started working
fine.

-Original Message-
From: James Black [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 5:08 PM
To: Tomcat Users List
Subject: Re: MySql driver not available in JSP.

[EMAIL PROTECTED] wrote:

Hi,
I have a class that uses the MySql driver for accessing the database.
If
I run this class on its own then it works fine. But if I use the same
class in a JSP, then the driver is not found.
What is the reason?
 

 You don't have the mysql jar file in the WEB-INF/lib directory,
perhaps?

--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MySql driver not available in JSP.

2004-08-22 Thread anunay.ashish

Hi,
I have a class that uses the MySql driver for accessing the database. If
I run this class on its own then it works fine. But if I use the same
class in a JSP, then the driver is not found.
What is the reason?
Regards,
Anunay Ashish.



Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]