Donald J. Zijm wrote:

> Hi All,
>
> I am working with Tomcat and My-SQL.  I have downloaded and tried to install
> various JDBC drivers but have not had much luck making a connection.
>
> I would like to start by getting some DETAILED information on how to install
> the JDBC driver on Win2K. I know to change the ClassPath but I am not clear
> if I am pointing to the correct directory or file.
>
> Any help would be appreciated.


There is a standardized (defined by the servlet spec), platform and
container independent way to make classes available in a web application:
put them under WEB-INF/classes or WEB-INF/lib (if packaged in a JAR
file).

It's that simple! No need to mess around with setting CLASSPATH
environemnt variables or putting them in special directories that
are only supported by certain containers. To whole reason for
defining the Web Application Archive (WAR) structure was to get
avoid from all the proprietary solutions. I'm surprised how often
this question comes up here (search the archives to see what I
mean) when there is such a simple solution available.

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
JavaServer Pages        http://TheJSPBook.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