2 questions about Tomcat installation

Discussion in 'Web Design & Coding' started by Biggie_mac, Mar 26, 2006.

  1. Biggie_mac

    Biggie_mac OSNN Junior Addict

    Messages:
    18
    I have jdk1.5.0 and Tomcat 5.0.28 on my comp. At localhost:8080 i get the standard Tomcat installed succesfully. But:

    1. if I go in tomcat/bin and shutdown the process(by executing shutdown.bat) and then I execute start.bat I get this:

    http://img136.imagevenue.com/img.php?loc=loc276&image=52029_eroare.JPG
    could it be that I didn't set java_home? how do I set it up??

    2. At localhost:8080 there are some examples with servlets among which there is also the classic HelloWorldExample which if executed works just fine. note that the example is found in servlet-examples directory. I copyed the Hello..s.java and Hello..s.class files from there and copyed it to webapps/Root/Web-inf/classes and in the brower I typed localhost:8080/servlet/HelloWorldExample....it doesn't work...how can that be posible?

    10x in advance