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

Tomcat 5.0.0 installation

herkulis nugent

Joined: Nov 22, 2000
Posts: 23
Does anyone know what directories I should place the 'class' files from servlets, and 'html' and 'jsp' files from jsp? Tomcat directory system seems to vary with each new version. I put my 'class' files into c:\tomcat\webapps\ROOT\WEB-INF\classes with the newly created 'classes' folder (I think in previous versions, 'classes' folder was already created), but I got error message 'http status 404-servlet/HelloWorld...the request source (/servlet/HelloWorld) is not available' after pointing the browser to http://localhost:8080/servlet/HelloWorld. I tried http://localhost:8080 and it worked fine, showing the index page of the Jakarta Project. What am I missing? Also, is Tomcat still a popular testing platform for servlet/jsp? Any recommendation is highly appreciated.
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
Originally posted by herkulis:
Any recommendation is highly appreciated.

You'll probably get a better response if you post this in the Apache/Tomcat forum instead of the Ant forum.

Also, herkulis, you have been asked several times to change your display name to conform to the JavaRanch Naming Policy.
You can change it here.


"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

The configuration of Tomcat 5.x is the same as version of 4.x
I think you need to read Configuring & Using Apache Tomcat 4
NOTE: read about 'Enable the Invoker Servlet'
[ February 16, 2003: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
imran mirza

Joined: Jan 15, 2003
Posts: 1

You should do a mapping of servlet. OR
you can keep your servlet in Examples/web-inf/classes folder.
I did'n use tomcat5, i have used tomcat 4.1. Concern to docs.

Imran Mirza
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Moving this to the Tomcat forum.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2373

BTW, Tomcat 5.0.0? - but I don't think its available still now.

Ashik Uzzaman
Senior Software Engineer, TubeMogul, Emeryville, CA, USA.
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

you can get it here
I agree. Here's the link:
subject: Tomcat 5.0.0 installation
It's not a secret anymore!