• 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Tomcat 5.0.0 installation

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Thanks.
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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'
Rene
[ February 16, 2003: Message edited by: Rene Larsen ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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.

From
Imran Mirza
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Tomcat forum.
 
Ranch Hand
Posts: 2373
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW, Tomcat 5.0.0? - but I don't think its available still now.
 
Rene Larsen
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can get it here
Rene
 
If tomatoes are a fruit, then ketchup must be a jam. Taste this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!