• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTTP 404 error ...

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ..my guess is that Tomcat has a bad cold ... what do u guys say ..
 
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Joyce
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Akshatha,

How about the web-inf and web.xml?

Try placing your servelets in a package.

Cheers,
Swamy
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic