Answer Posted / deepa vg
The web.xml is called the deployment descriptor. It is used
to provide details about the deployment of the web
application.
At a very minimum, it tells the servlet container the
version of the servlet specifications to use for the app.
Additionally, since you are using servlets, you have to use
it to provide details about the class of your servlets, and
the URL to use for mapping HTTP requests to the servlet.
You also can specify security roles and limited access for
pages, define attributes to store application-wide, define
specific pieces of information for JSPs, define MIME-Type-
Mappings, Welcome Page file names, and other details about
the Servlet Context.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation in java?
What are operators and its types?
What are annotations in java?
What is tree in java?
What is null statement?
What does main method?
What do you mean by a JVM?
Why is core java important?
What is classname class in java?
Whats the difference between notify() and notifyall()?
How do you use equal in java?
What is the difference between the paint() and repaint() methods in java programming?
Why are variables important in research?
What does it mean that a method or field is “static”?
Explain what access modifiers can be used for variables?