You can try this tutorial from Sun's website:
http://www.java.sun.com/docs/books/tutorial/jdbc/index.html

General info on JDBC from Sun:
http://www.java.sun.com/products/jdbc/index.html

-----Original Message-----
From: Supreme Being [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: AW: mySQL with JSP


great...i had all those directories and i put my .jar file in the right
places. so i think that's happened great. thanks. could you also guide me
towarsd a good tutorial or something on using databases with JSP on the web
or so? one that is good for begginers...
thanks.

SupremeBeing

>Date:         Mon, 7 May 2001 19:59:45 +0200
>From: =?iso-8859-1?Q?Michael_J=E4ger?= <[EMAIL PROTECTED]>
>SUBJECTTo: [EMAIL PROTECTED]
>
>I'm not quite sure about JRun but I suppose it should be the same as with
>Tomcat, because it is layed down in the Servlet specifications: If you need
>database access only in your web-application, then just put the jar file in
>the /WEB-INF/lib-directory of your web-application.
>If this directory does not exist yet, simply create it.
>
>So your directory structure should be similar to this:
>jrun_path/webapps/your_webapp/WEB-INF/lib/*.jar (with your JSP in the
>your_webapp directory).
>
>When starting JRun, all jar files in this lib directory should
automatically
>be included in your classpath. However, I think this does not work with
>Tomcat under Win98 and I do not know if it works with JRun/Win98.
>
>Alternatively, you can just add the path to your jar file to the classpath
>set in your autoexec.bat. If the there is no classpath set in your
>autoexec.bat, simply add a line like:
>set CLASSPATH=.;C:\path_to_the_jar_file
>to the autoexec.bat file (and do not forget to restart your computer aver
>having done so).
>
>Good luck
>
>Michael
>
>-----Urspr�ngliche Nachricht-----
>Von: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]Im Auftrag von Supreme Being
>Gesendet: Montag, 7. Mai 2001 06:53
>An: [EMAIL PROTECTED]
>Betreff: Re: AW: mySQL with JSP
>
>
>>Simply include the jar file in your classpath and access your
>>MySQL-databases through the classes of the JDBC-API.
>
>thanks a lot. but can you tell me where exactly (as in, which folder?) do i
>have to place my .jar file? i'm using the JRun server. where should i keep
>the .jar file so that it's usable when include it in the classpath.
>
>cheers,
>T. Edison jr.
>
>
>
>------------------------------------------------------------
>Are you a Hoboe?  Hobnob at http://www.hoboe.com
>Click here -> http://www.hoboe.com Global Mail Access
>
>===========================================================================
>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


------------------------------------------------------------
Are you a Hoboe?  Hobnob at http://www.hoboe.com
Click here -> http://www.hoboe.com Global Mail Access

===========================================================================
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

Reply via email to