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 are the different tags provided in jstl?
What is nested class?
Why do we use variables?
What does .equals do in java?
Which is bigger float or double?
What is method overloading with type promotion?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What is a method signature java?
What is use of a abstract variable?
Why for each loop is used?
What is an anonymous class in java?
Can we create a constructor in abstract class?
What is the current version of java?
Can java inner class be static?
What is constructor in java ?