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 immutable class in java?
Is age a discrete variable?
Can we create an object of private class?
How static variable work in java?
What are loops in java? What are three types of loops?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
Why java applets are more useful for intranets as compared to internet?
Is array a class in java?
What is the final keyword?
How do I start learning java?
What are the advantages of autoboxing?
What are design patterns and please explain?
What is a predicate method?
How do I type unicode?
Explain the features of java?