Hi 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/PrimitiveServlet.java %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" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>Primitive</servlet-name> <servlet-class>PrimitiveServlet</servlet-class> </servlet> </web-app> Could anyone please help me!!!!!!!!! Raghu,