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

State an example of struts configuration file as an action parameter for action servlet.

780


What is the struts in java?

722


how to debug struts project in netbean ?

2138


Is struts compatible with other java technologies?

731


What is the purpose of @conversion annotation annotation?

934


Which technologies can be used at view layer in struts?

891


What is defeult result type?

865


Why are springs better than struts?

829


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

769


Can you explain custom tag?

790


What are the conditions for actionform to work correctly?

763


What is the purpose of @urlvalidator annotation?

769


What’s the utilization of struts.xml configuration file?

754


What is switchaction?

858


How to use dispatchaction?

794