Which parser is used in Struts to parse the Structconfig.xml
file.

Answer Posted / achutanand

SAX Parser is used to parse the xml file because basically
it is for the ActionServlet to read the xml file rather
than writing something into the struts-config xml file
just the action servlet has to read the file and construts
the module config object for the one time and load it
so as SAX Parser is basically for reading and doing some
search operation Struts uses this aproach intelligently.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between struts and spring?

706


Which components are available using actioncontext map?

929


How you will enable front-end validation based on the xml in validation.xml?

781


What is struts in j2ee?

731


When do I need “struts.jar” on my classpath?

747


What do you mean by ognl?

775


What is the role of action class in struts?

756


What is controller in struts ?

725


How the exceptions are handled in struts?

753


How to get data from the velocity page in a action class?

748


What is the need of struts?

744


Are struts thread safe?

747


Are the struts tags xhtml compliant ?

725


Why is it called struts?

718


What is struts2 namespace?

696