• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Himai Minh

Tomcat 4.1.24 cannot find Servlets

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone hope I can find some help here. I have switched to Mac OSX( iBook ) in January and was impressed by how great this OS is and so far the switch has been painless. I got up and running with OpenOffice, Apache, PHP, Mysql, successfully compile projects with Eclipse so generally beginning to forget my old PC for good! My only headache has so not having been able to figure out a problem I have with Tomcat. I transferred my web application from my PC but I can only view HTML pages and JSP files. Each time I try to access a servlet I get a message 'HTTP Status 404 -/servlet/ArticleSearchHandler'. Normally this means that the class file is not found but it is there. I have all my files in the ROOT directory ( sorry I am no geek ) and my classes are all in packages in the classes folder.
A web.xml snippet looks something like...




any help most appreciated, Gianni
Posts: 67537
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the forums gianni.

I've never had any Mac-specific problems of this kind with Tomcat. It must be something in your setup.

It's no sin not to be a geek, but you really should delve into the Tomcat documentation and find out how to properly set up web applications. Just shoving everything into ROOT is bound to cause difficulties sooner or later.

We have a forum here specifically devoted to Tomcat where lots of help is available.
[ February 26, 2005: Message edited by: Bear Bibeault ]
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic