This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet deployment in tomcat" Watch "servlet deployment in tomcat" New topic
Author

servlet deployment in tomcat

zhangzh
Greenhorn

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?
thanks,
zhangzh
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
All the answers are explained in the foll doc:
TOMCAT_HOME\jakarta-tomcat\doc\appdev\index.html
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
and
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 .........
Regds.
- satya

TOMCAT_HOME\jakarta-tomcat\doc\appdev\index.html
[This message has been edited by Madhav Lakkapragada (edited September 26, 2000).]


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
zhangzh
Greenhorn

Joined: Sep 22, 2000
Posts: 10
thax,
these sure helps.
zhangzh
 
 
subject: servlet deployment in tomcat
 
Similar Threads
Apache -> Tomcat servlet problem
HTTP 404 Error
SOS
error for first web application : The requested resource (/Beer-v1/SelectBeer.do) is not available.
Localhost leads to nowhere