This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
I agree. Here's the link:
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