what is web.xml?and its use?

Answer Posted / harikumar

web.xml is used specify the name of our servlet
class,servlet name & url-pattern to the server.
Then onle server can identify our class after calling from
the browser defined in servlet mapping tag inside the
web.xml.
web.xml is used to map our application.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between size and length in java?

735


What’s the difference between unit, integration and functional testing?

831


What is the difference between int and integer in java?

774


What is an infinite loop in java? Explain with an example.

787


What does it mean to flush a file?

798


Why arraylist is used in java?

764


What are the limitations of procedural programming approach?

755


What is a default method?

759


Is integer immutable in java?

738


What is the difference between declaration and definition in java?

737


Is java an open source?

730


How to avoid memory leak in java?

836


What is a singleton factory?

725


What is t in generics in java?

802


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

742