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 a generic code?

623


Can we restart a dead thread in java?

643


what is the purpose of using rmisecuritymanager in rmi?

668


What type of variable is error flag?

703


why not override thread to make a runnable? : Java thread

651






Explain what pure virtual function is?

686


What is the purpose of the main method?

638


What is arrays sort in java?

658


How many bytes is string in java?

731


Difference between serialization and deserialization in java?

734


List down the methods and interfaces of collection class in java.

638


What are the types of literals?

679


What is the Scope of Static Variable?

826


Explain different ways of creating a thread?

612


What is the difference between jdk, jre, and jvm?

673