File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlet Problem In Tomcat5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Problem In Tomcat5" Watch "Servlet Problem In Tomcat5" New topic
Author

Servlet Problem In Tomcat5

Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
Hi
I have One Servlet which Print the NAme butIn Tomcat 5 IT is giving me 404 Error code

For Eg.
JDK : d:\jdk1.4.2
Tomcat d:\tomcat5
Class D;\tomcat\webapps\MyServlet\WEB-INf\classes\HelloServelt.classs
Web.xml D;\tomcat\webapps\MyServlet\WEB-INf\Web.xml

is here anything that missed out

please help me why this show 404
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

1) all your classes (servlets included) should be in a package.
2) web.xml (not Web.xml) and WEB-INF (not WEB-INf)
3) you are probably thinking the invoker is active?
Invoker FAQ
Navin Ramineni
Greenhorn

Joined: Jul 28, 2004
Posts: 3
Santosh- what is the URL which you used to access the servlet?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Problem In Tomcat5