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

Error 404: Using Tomcat

Madhu SK
Greenhorn

Joined: May 07, 2001
Posts: 12
Hi,
I have Tomcat installed on my machine. When I try to run the BookStore application given in Sun's tutorial, it gives No Found (404) error. The command I used to invoke the servlet is: http://localhost:8080/bookstore/enter
I am able to see the Tomcat's home page when I type http://localhost:8080. But when I try to run any other application, I get the 404 error. What should I do?
Thanks,
Madhu
Bashir Mirzad
Greenhorn

Joined: Nov 28, 2001
Posts: 25
Hi there!
try this one http://localhost:8080/servlet/YOUR SERVLET NAME HERE
hope it work
Bashir
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
if it's in a package, try this http://localhost:8080/servlet/yourpackagename.yourservletname
------------------
Bosun
SCJP for the Java� 2 Platform


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Madhu SK
Greenhorn

Joined: May 07, 2001
Posts: 12
Hi,
I am able to run the example now. Earlier the problem was, I put the .war file in the webapps directory AFTER starting the Tomcat.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error 404: Using Tomcat