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
Can we override static methods in java?
How do you do absolute value in java?
What is keyword auto for?
What is the implementation of destroy method in java. Is it native or java code?
What is Gang of four design patterns
What does java ide mean?
What do you mean by thread safe?
How will you initialize an Applet?
How do weakhashmap works?
What is the difference between comparison done by equals method and == operator?
Which of the following is not an isolation level in the JDBC
What is the map interface in java programming?
What do you mean by compiler?
what invokes a threads run() method? : Java thread
What is an object’s lock and which object’s have locks?