File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "404 error " Watch "404 error " New topic
Author

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
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: 404 error
 
Similar Threads
Very Basic Question
why getting 404 error? page is there.
Is j2ee required for servlet?
http status 404 message {extremely urgent help required}
Basic doubt