This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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
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.
Customer surveys are for companies who didn't pay proper attention to begin with.