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

HTTP status 404

saheed omotola

Joined: Jun 26, 2011
Posts: 4
HTTP Status 404 is what i get each time i try to run servlet from my browser. i am new to web application
Arun Giridharan
Ranch Hand

Joined: Sep 30, 2010
Posts: 290

can you give a bit more information , like paste the code or exception you get ...//use code tags for it.
Arun Giridharan
Ranch Hand

Joined: Sep 30, 2010
Posts: 290

Actually HTTP 404 means some of the code resource is missing , like your trying to access a servlet and that servlet is not present in that "classes " folder . Check the directory structure .
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
What are you using as a servlet container?

Charles 'King
Ranch Hand

Joined: Jul 05, 2009
Posts: 56

Post the URL and the <servlet><servlet-mapping> entries from DD.
I agree. Here's the link:
subject: HTTP status 404
It's not a secret anymore!