Answer Posted / sathish s t
web.xml file is the configuration file for your web application project ,each web application project should have this file and don't give another name instead of web.xml(default)
uses:
After the server(tomcat) get the request from the user, that ask the servletcontainer, where to find the servlet.The servletcontainer tells to tomcat, to go web.xml configuration file.In this file the servlet-mapping element gets the URL from the tomcat and maps the corresponding servelt.Then the tomcat take that servlet and gives response to user.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What is qms certification?
How can you share data between two thread in Java?
Is string thread safe in java?
What is public static void main?
what is meant by abstract class?
When object is created and destroyed?
Is alive and join method in java?
What about member inner classes?
What environment variables do I need to set on my machine in order to be able to run java programs?
What is mnemonic in assembly language?
Why string is called as immutable?
What is unsigned char?
What is the difference between form & report?
What is static and final keyword in java?