Which parser is used in Struts to parse the Structconfig.xml
file.
Answers were Sorted based on User's Feedback
Struts uses SAX parser it is 100% correct.
If u have still doubt,
give wrong tag in struts-config.xml
like <global--forwardsss> and obsert the console of the server
it will show sax parser exception
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / sneha
Plz i am unable get the correct answer.Which one is the
right answer.Help me in telling the correct answer.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / deepthi
Digester-Api is used to read the xml file.it internally use
dom and jdom for parsing of xml file.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mkj
The documents used to struts is small . so parsing
with DOM most probable this because it fast convert
the document in tree wich fast to access ..
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / alka
The Struts Console software uses an XML parser (JDOM +
Xerces) to read in Struts config files.
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / ankur
Xerces is the parser which struts-config.xml is parsed with
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / kiran
I think it is DOM becoz Struts configure file follows the
tree model
Is This Answer Correct ? | 1 Yes | 4 No |
What are action errors?
What is the purpose of @beforeresult annotation?
What is the use of jsonvalidation in struts?
Explain the complete struts validator framework.
Whats the difference between the default namespace and the root namespace?
How to use dispatchaction?
What is declarative exception handling in struts?
Explain the components of struts?
What is the difference between plain-validator and field-validator?
What is the different actions available in struts?
What is form bean in struts?
How does struts2 token work?