Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet deployment in tomcat

 
zhangzh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
zhangzh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thax,
these sure helps.
zhangzh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic