Hi all
Can you tell me if you can have Beans in a jar file
for
the JSP to use.
If so could you lead me on where to look or give me
example?
Thanks in advance
new to JSP
--- Nishit Trivedi <[EMAIL PROTECTED]> wrote:
> put your mysql driver in tomcat\lib and
> \<where you installed
> tomcat>\webapps\examples\WEB-INF\lib
>
> i am not sure exactly..so i have it in both
> place...:)
>
> Nishit
>
> -----Original Message-----
> From: Gavin Meehan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 10:57 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Connecting to MySql DB
>
>
> Thanks Nishit but how do i set the classpaph on
> tomcat
> Damien
>
>
> >From: Nishit Trivedi <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages
> specification and
> > reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: Connecting to MySql DB
> >Date: Fri, 23 Mar 2001 10:33:26 -0500
> >
> >check this: when you try to make connection to my
> sql db from bean
> >or jsp pages, the driver should be in tomcat's
> classpath...
> >this may be case that when you run this program as
> standalone
> >app, that class is in your classpath at runtime...
> >
> >Nishit
> >
> >-----Original Message-----
> >From: Gavin Meehan
> [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, March 23, 2001 6:19 AM
> >To: [EMAIL PROTECTED]
> >Subject: Connecting to MySql DB
> >
> >
> >Hi
> >I have a DBconnect class that connects to a mySql
> DB. When it runs as an
> >application it runs fine and a connection is set
> up, but when the calss is
> >used as a bean from a JSP Page i get the exception
> "No suitable driver" I
> >have also tried put the code in the JSP page a
> scriptle but the same
> >problem. I am running tomcat4.0 and the driver im
> using is mm.mysql.
> >Thanks
> >Damien
>
>_________________________________________________________________________
> >Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
>
>===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> >JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST
> >DIGEST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> >JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST
> >DIGEST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
_________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
=====
Thomas Simpson
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets