I have tomcat 4.0.1 on my windows 2000 machine . I am trying to run a test servlet called test.java It is nothing but a helloworld program. Now I have created a directory called test like <CATALINA_HOME>webapps\test. I have these directories ie <CATALINA_HOME>webapps\test. <CATALINA_HOME>webapps\test\WEB-INF (the place where i have a dummy web.xml file) <CATALINA_HOME>webapps\testWEB-INF\classes (where test.java and test.class are located) <CATALINA_HOME>webapps\test\WEB-INF\lib I have included <Context path="/test" docBase="" debug="0" reloadable="true" /> in the server.xml file. tell me what is wrong here as I am not getting the output. when I type: <http://localhost:8080/test>. I am getting the directory lists like: and when I click test, I get a blank page. Directory Listing For / Filename Size Last Modified ROOT/ <http://localhost:8080/test/ROOT/> Sun, 14 Oct 2001 19:13:54 GMT examples/ <http://localhost:8080/test/examples/> Sun, 14 Oct 2001 19:13:52 GMT manager/ <http://localhost:8080/test/manager/> Sun, 14 Oct 2001 19:13:54 GMT tech/ <http://localhost:8080/test/tech/> Mon, 17 Dec 2001 19:51:08 GMT test/ <http://localhost:8080/test/test/> Mon, 17 Dec 2001 20:37:12 GMT tomcat-docs/ <http://localhost:8080/test/tomcat-docs/> Sun, 14 Oct 2001 19:13:52 GMT webdav/ <http://localhost:8080/test/webdav/> Sun, 14 Oct 2001 19:13:54 GMT
and when I click the url link "tech" I get a page that says :"Apache Tomcat/4.0.1" can anybody tell me whats is wrong here. -------------------------------------------- Madu Ramanujan Business Analyst Pacificorp email: [EMAIL PROTECTED] Phone: (503) 813- 6039 =========================================================================== 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
