Please help me out I am a newbie as far as tomcat 3.2.1 is concerned I have a fictitious web application say which has a directory structure myWebApp\ index.html login.jsp images\ logo.gif literature\ report.pdf web-inf\ web.xml classes\ shoppingcart.class catalog.class
lib\ dbLibrary.jar xmltools.jar I have downloaded a type III thin driver from oracle site(in .zip format),suppose my catalog class talks to a database(oracle) where should I place the driver(should i convert it to .jar format and how). Please give me the complete directory structure as to where I should place the directories in tomcat and the installation path of oracle thin driver,any replies will be welcomed thanx a lot
You could unpack the zip file into the WEB-INF/classes directory structure or you might try renaming the zip to a jar an placing it in the WEB-INF/lib directory. Be sure your application has a context entry in Tomcats server.xml Bill
Joined: Aug 06, 2001
Originally posted by William Brogden: You could unpack the zip file into the WEB-INF/classes directory structure or you might try renaming the zip to a jar an placing it in the WEB-INF/lib directory. Be sure your application has a context entry in Tomcats server.xml Bill
will i have to do any other changes or i can connect to the database straight away by unpacking the .zip folder in web-inf/lib directory,do i need to make changes in web.xml file
I'd unzip that zipfile. You may find that the actual driver's a jar stored inside there. That's what you'd put in your WEB-INFO/libs directory. Oracle's too big on Java to have given you a zipfile and expected you to puzzle it out.
An IDE is no substitute for an Intelligent Developer.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: driver installation in tomcat as well as application configuration