• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

Tomcat 4.1.24 cannot find Servlets

Posts: 2
  • Mark post as helpful
  • send pies
  • 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: 67279
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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 ]
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
create, convert, edit or print DOC and DOCX in Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!