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
Define the term string pool?
Highest level event class of the event-delegation model?
What is space character in java?
Describe 2 different ways to concatenate two strings.
What is square root in java?
what is the messsage u r going to get from an objectoriented programing?
What is type conversion in java?
Is space a char?
How variables are declared?
When is an object subject to garbage collection?
Can you add null to a list java?
Why put method is used?
Is set thread safe java?
What is functional interface in javatpoint?
What is ide with example?