File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlet deployment in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet deployment in tomcat" Watch "servlet deployment in tomcat" New topic

servlet deployment in tomcat


Joined: Sep 22, 2000
Posts: 10

when you type http://localhost:8080/examples/servlets
it will go to servlets exapmle's page.
can anybody explain what's happening behind the scene?
is it handled by a servlet or just a .html page?
i cannot find information in web.xml in examples/web-inf.
how can i implement like this in my own application?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
All the answers are explained in the foll doc:
This is avail. in the Tomcat 3.1 installation. Go thru the 3 rd
and 4 th topics which are:
Deployment Org.:
Discusses the standard directory layout for a web application
(defined in the Servlet API Specification), the Web Application
Deployment Descriptor, and options for integration with Tomcat
in your development environment
Source Org.:
Describes a useful approach to organizing the source code
directories for your project, and introduces the build.xml used
by Ant to manage compilation
Hope this helps. Feel free to post any addl. qstns .........
- satya

[This message has been edited by Madhav Lakkapragada (edited September 26, 2000).]

Take a Minute, Donate an Hour, Change a Life

Joined: Sep 22, 2000
Posts: 10
these sure helps.
I agree. Here's the link:
subject: servlet deployment in tomcat
It's not a secret anymore!