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

HTTP 404 error ...

Akshatha Nayak
Ranch Hand

Joined: Jul 15, 2004
Posts: 53
hi guys ,

i'm getting 404 error .. i dont know why .. these servlets were working fine when i ran it on tomcat server few days back ... few of them r like hello world servlets( well i have couple of them ..) ...even those r not working now.. ??
can anybody pls tell me why this is happening ? ..has anybody come across this problem ?
what r the possible things that cud go wrong ? pls post me suggestions

well guess is that Tomcat has a bad cold ... what do u guys say ..

Only those who will risk going too far, Can possibly find out how far one can go! <br />happiness is journey and not destination<br /> <br />A Nayak<br />----------------------------------<br />SCJP 1.4<br />SCWCD 1.3<br />SCBCD 1.3
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
Hi Akshatha,

Could you able to see the Tomcat main page by accessing http://localhost:8080? If yes, could you able to run the Tomcat examples http://localhost:8080/servlets-examples? If yes, the Tomcat is running ok.

Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295
Hi Akshatha,

How about the web-inf and web.xml?

Try placing your servelets in a package.

I agree. Here's the link:
subject: HTTP 404 error ...
It's not a secret anymore!