• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 5.0.0 installation

 
herkulis nugent
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.
 
Marilyn de Queiroz
Sheriff
Posts: 9067
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.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • 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 ]
 
imran mirza
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
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Tomcat forum.
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser 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
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can get it here
Rene
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic