Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of The Software Craftsman this week in the Agile forum!
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: 9327

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