First of all I'm new to all this stuff of servlets and JSP.
I want to Know one thing, that why do we use the dployment descriptor. I know that it is used to tell the container about our web component and services it require from the container. I've used Sun's J2EE 1.4 application server, which automatically generates a deployment descriptor for your component. But,I've also used Tomcat 4.0 and I havn't worked on the "web.xml" file still all my applicaions are working very well. For example, I've a shopping cart application in which I've used servlets for processing requests and JSP's for displaying the information. I've transferred requests, exception, and data from servlets to JSP's, but I haven't set a single mapping property or any thing in the "web.xml" file.
Now I'm confused!!! Is it necessary to work on "web.xml" file. If yes then why my applicaions are working well. If no then why you all people give your answer that relate to the "web.xml" file. Like settings related to mapping servlets when you are forwarding request from one servlet to a JSP page?
Pls Answer
Regards Yogi
"My mind works like lightining, one brilliant flash and it's gone."