problem running servlet on apache tomcar 5.5.23

Discussion in 'Server Operation' started by raghu, Apr 15, 2007.

  1. raghu

    raghu New Member


    I am trying to run my first application servlet in apache tomcat 5.5.23 but it doesnt work. The example servlets and JSPs work fine but my application( called "firstapp") gives a http 404- resource not found error.

    I am using JDK 6 and have setup the the JAVA_HOME variables and compiled the source for my app. here is the hierarchy where I have placed the application

    %CATALINA HOME%/webapps/firstapp/WEB-INF/classes/
    %CATALINA HOME%/webapps/firstapp/WEB-INF/classes/PrimitiveServlet.class
    %CATALINA HOME%/webapps/firstapp/WEB-INF/web.xml

    here are the contents of the web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>

    <!DOCTYPE web-app

    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"








    Could anyone please help me!!!!!!!!!

  2. falko

    falko Super Moderator ISPConfig Developer

    What's the URL you're using, and what's the document root of that vhost?

Share This Page