I think the reason the question comes up so often is that the documentation is not that clear. I figured it out as I knew what I was looking for as I had worked with Sun's Java Web Server last year!
-----Original Message----- From: Hans Bergsten [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 4:00 PM To: [EMAIL PROTECTED] Subject: Re: JDBC 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 ************** The information in this e-mail, and any attachment therein, is confidential and for use by the addressee only. If you are not the intended recipient, please return the e-mail to the sender and delete it from your computer. Although the Bank of New York attempts to sweep e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses. =========================================================================== 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
