Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / sandeep barange

Hi, Everybody,

Actually in jakarta struts there are two parsers.
one is DOM parser and another is SAX.

1) DOM, read the whole document at a time and creats tree
like structure.

2) SAX also creates tree like structure but with event, and
Digerster is a framework which simplifies the SAX parsing
by providing Higher level Interface to SAX events.

3)DOM is easier to implement, slower and more resource-
intensive than SAX.

4) Digerter is Originally designed to parse the struts-
config.xml, later recognized that this is more useful and
moved to "jakarta commons" project.

hense Digester is the framework which is desigened to parse
the struts-config.xml file, which inturn uses SAX parser.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4479


What are the custom tags?

872


What is discontinuous strut?

894


Why are frameworks used?

961


What is the need of struts?

938


What are the core classes of struts framework? Explain

959


What is http redirect?

976


What are the components of struts framework?

993


How can we work with error tags?

950


What validate() and reset() method does ?

1042


What are the different kinds of actions in struts?

1026


Which model components are supported by Struts?

999


What are action errors and error?

1013


What are different ways to create Action classes in Struts2?

1049


Can I have html form property without associated getter and setter formbean methods?

979