This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 9435

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!