File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes 404 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "404 error " Watch "404 error " New topic

404 error

beata jane
Ranch Hand

Joined: Sep 10, 2009
Posts: 43
I tried the link and copied the simpleservlet war file into the webapps folder of tomcat server.
I did like this.C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\servlets-examples\WEB-INF\classes\simpleservlet
then I sarted the tomcat server.In the browser when i gave like this.http://localhost:8080/SimpleServlet.
I have set my default port as 8080.I am getting a 404 error in the browser.
Ankit Garg

Joined: Aug 03, 2008
Posts: 9462

Is this a response of this thread?? Anyways, put the war file under C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\simpleservlet.war (or whatever the war file name is)...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
I agree. Here's the link:
subject: 404 error
It's not a secret anymore!