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,
Recent comments
1 day 5 hours ago
1 day 7 hours ago
1 day 19 hours ago
1 day 22 hours ago
2 days 2 hours ago
2 days 8 hours ago
2 days 18 hours ago
2 days 19 hours ago
3 days 3 hours ago
3 days 5 hours ago