Placing JavaServerPages & JavaClasses in Apache Tomcat

Discussion in 'Apache' started by reisebobby, Mar 25, 2006.

  1. #1
    Hi,

    I’m really a newbee to Apache Tomcat and I need some help. I’ve created a Web Service Client with Eclipse IDE containing some JavaServerPages and Java-Class Files. This runs fine in Eclipse while Eclipse is configurating Tomcat automatically. Now I want to use my project outside the Eclipse IDE, but I do not know where in my Tomcat directory I have to put the JavaServerPages and Class-Files nor if I have to change the server config file. Can anybody tell me how this works? Besides Eclipse IDE uses some classes from the AXIS Framework. Do I have to put this axis-jar-files into my Tomcat directory too? Last but not least I’ m making a SQL-database call with my Client and for this I had to add a SQL-driver (jar file) into my Eclipse IDE. Where in my Tomcat directory do I have to put this SQL-driver?

    Thanks a lot for your help!

    reisebobby
     
    reisebobby, Mar 25, 2006 IP
  2. sacx13

    sacx13 Active Member

    Messages:
    438
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Upload your jsp pages in webapps/ROOT or webapps/xxxx and you class files in webapps/ROOT(or xxx)/WEB-INF/class etc
    put your sql driver in class folder in the root of tomcat

    Regards
    Adrian
     
    sacx13, Mar 29, 2006 IP