Hello All,
I'm new to
J2EE world. I'm using
Tomcat 4.0. When I try to access my first
servlet with this URL
http://localhost:8080/servlets/Hello, I'm getting requested resource not available (404).
Here's my 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>HelloServlet2</servlet-name>
<servlet-class>moreservlets.HelloServlet2</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloServlet2</servlet-name>
<url-pattern>/Hello</url-pattern>
</servlet-mapping>
</web-app>
here's my doirectory structure
C:\Tomcat\webapps\servlets\WEB-INF\classes\moreservlets\HelloServlet2.
Why am I getting 404.
Thanks for your time
Maalti Iyer.