• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Tomcat 5.0.0 installation

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this to the Tomcat forum.
 
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can get it here
Rene
 
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic