Ok, this is the second machine!  I FINALLY go servlets to run on a win98 machine with tomcat 4.01 beta now I'm trying to do the same thing, tomcat 4.01 beta standalone and I cannot get the stupid HelloWorld servlet to output to the browser!  It appears to run, no log messages saying exceptions, no browser exception just a blank page!  What is up with this?  I'm using the url of http://localhost:8080/MyTest/servlet/srv.HelloWorld.  My web.xml file looks like this:
 
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
    <display-name>Joe Testing</display-name>
    <description>
 This is a simple web application with a source code organization
 based on the recommendations of the Application Developer's Guide.
    </description>
 <servlet>
  <servlet-name>HelloServlet</servlet-name>
  <servlet-class>srv.HelloWorld</servlet-class>
  </servlet>
 <servlet-mapping>
  <servlet-name>HelloServlet</servlet-name>
  <url-pattern>/hello</url-pattern>
  </servlet-mapping>
 
</web-app>

I'm using ANT to do the builds, using an index.htm page to link to the HelloWorld servlet and I get nothing!  Please oh pleas help!  This is making absolutely no sense.
Jeff Finley
No Technologies Inc.
Just Doing it because, NY 000501



Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to