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 fail fast in java?
What is the base class of all classes?
Is zero a positive integer?
Is there a jre for java 11?
Is namespace same as package in java?
What is thread pool in java with example?
Explain public static void main(string args[]).
how to deploy apache tomcat server to weblogic server in java
Which browsers work with java?
What is the purpose of methodology?
Difference between final and effectively final ?
Can each java object keep track of all the threads that want to exclusively access it?
what do you mean by classloader in java?
if u open login & logout ,how can udisplay the timelogin & logout members ?
What is ctrl m character?