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 is scanner in java?
What is boolean false?
What is one third plus one third as a fraction?
Explain the difference between an Interface and an Abstract class?
What is OOP Language?
Why is a constant variable important?
Explain the importance of thread scheduler in java?
Explain creating threads by extending thread class ?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
What is the disadvantage of java?
Can a main method be declared final?
What type of value does sizeof return?
What is class??
How do you use nextline in java?
Explain the difference between transient and volatile in java?