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



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

Answer / 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

More Servlets Interview Questions

how do you maintain sessions in servlets?

5 Answers   AZTEC, L Cube,


How many objects of a servlet is created?

0 Answers  


Which java framework is most popular?

0 Answers  


Which interface should be implemented by all servlets?

0 Answers  


What are the exceptions thrown by servlets? Why?

0 Answers  


My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??

2 Answers  


What are the methods in HttpServlet?

8 Answers  


What do you mean by web applications?

0 Answers  


What do you mean by chaining in servlet?

0 Answers  


What are the differences between servlet context vs servlet config?

0 Answers  


What is Server-Side Includes?

1 Answers   IBM, SAS,


how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..

6 Answers   Siemens,


Categories