I think you have to call your servlet like this : <http://localhost:8080/test/servlet/test
>From: "Ramanujan, Madhusudhan" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Tomcat App installation >Date: Mon, 17 Dec 2001 13:51:43 -0800 > >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 > > >============================================================================ > >This email is confidential and may be legally privileged. > >It is intended solely for the addressee. Access to this email by anyone >else, unless expressly approved by the sender or an authorized addressee, >is unauthorized. > >If you are not the intended recipient, any disclosure, copying, >distribution or any action omitted or taken in reliance on it, is >prohibited and may be unlawful. If you believe that you have received this >email in error, please contact the sender, delete this e-mail and destroy >all copies. > > >============================================================================== _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com =========================================================================== 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