If your JSQConnect.jar is your jdbc driver, put it either in
%CATALINA_HOME%/common/lib or in your application context WEB-INF/lib
directory.

> -----Original Message-----
> From: Paul Toyn [mailto:PTOYN@;UTAH.GOV]
> Sent: Saturday, 19 October 2002 3:56 AM
> To: [EMAIL PROTECTED]
> Subject: Jar files
>
>
> Hi,
>
> I'm not quite sure where to put my JAR files.  I'm using
> Tomcat 4.0.6 and my directory structure is
> c:\jakarta-tomcat-4.0.6\webapps\ROOT\WEB-INF\Timeslp\Timeslip2.jsp
>
> A snippet of my code is:
>
> <%
> Class.forName("com.jnetdirect.jsql.JSQLDriver");
> conn =
> "jdbc:JSQLConnect://168.179.185.19/database=Timeslip/user=time
> slip/password=timeslip";
> Connection Conn = DriverManager.getConnection(conn); ...
>
> Where do I put the JSQConnect.jar file so the class is recognized?
>
> My classpath is:
>
> .;C:\JSPDevelopment;C:\jakarta-tomcat-4.0.6\common\lib\servlet
> .jar;c:\jakarta-tomcat-4.0.6\webapps\root\web-inf\classes;c:\j
> akarta-tomcat-4.0.6\webapps\root\timeslip\web-inf\classes
>
> What am I doing wrong?
>
> Thanks in advance
>
> Paul
>
> ==============================================================
> =============
> 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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to