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 Tomcat and the fly likes Importance of web.xml? 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 » Products » Tomcat
Bookmark "Importance of web.xml?" Watch "Importance of web.xml?" New topic

Importance of web.xml?

vivek D.K

Joined: Nov 04, 2003
Posts: 2
Can anybody tell me the importance of web.xml file in Tomcat?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

It is the heart of any J2EE web application. It is extremely important.
The Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you
Taken from

GenRocket - Experts at Building Test Data
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Importance of web.xml?
Similar Threads
role of web.xml
web.xml description, display-name, and icon
web.xmi in servlets
About executing servlet class