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
Is singleton set an interval?
How to perform linear search in java?
What type of value does sizeof return?
What happens when I use / and % with a negative numerator?
Define linked list and its features with signature?
Is zero a natural number?
Is void a data type in java?
Is node a data type in java?
What is the difference between keyword and identifier?
What is the disadvantage of java?
What are peerless components in java programming?
Can we extend private class in java?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
What is the use of keywords in java?
Which package has light weight components in java programming?