aspose file tools*
The moose likes Tomcat and the fly likes Resource not available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Resource not available" Watch "Resource not available" New topic
Author

Resource not available

Maalti Iyer
Ranch Hand

Joined: Jul 11, 2001
Posts: 52
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resource not available