What is a parser. What does a parser do with a XML? Why do
we need it?

Answer Posted / sanjay rawat

Parser is used to parser the xml file it parse the xml file
and set the data in the domain model and if the Schema
validation is set to true then it will validate the xml file
against the Schema .Parser is needed for reading the data
from the xml node and to populate that data

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you configure a centralized error handler in servlets?

609


Explain the difference between a web server and a web container?

598


What is servlet in tomcat?

653


How many servlet objects are created?

654


What is the use of attribute in servlets?

620






How do you deal property files in servlet?

695


Describe some assignments that are executed by servlet container?

680


Which event is fired at the time of session creation and destroy?

979


Explain the difference between generic servlet and http servlet?

616


Which are the different ways you can communicate between servlets?

623


What’s the difference between genericservlet and httpservlet?

620


What is the use of request dispatcher interface?

650


How do I support both get and post from the same servlet?

791


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

665


Why is httpservlet declared abstract?

669