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 the use of static methods?
Which collection is sorted in java?
How to create a fecelet view?
What is update method called?
What is a text string?
Why you should not use singleton?
What is the locale class in java programming?
How to read and write image from a file ?
What is the purpose of the finalize() method?
What does escaping a character mean?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
What is the purpose of javac exe?
What does string mean in java?
Does java have a compiler?
What types of index data structures can you have in java?