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 combine the struts with velocity template?

940


What is interceptor struts2?

998


What is the use of form bean in struts?

910


What is the configuration files used in struts?

948


How the flow of various requests happens in struts application?

995


How properties of a form are validated in Struts?

1021


What is the use of forwardaction?

1012


What are the core classes of struts?

1030


Explain about tiles?

1038


Can we have multiple struts config files in a single web app?

933


What are the sections into which a strut configuration file can be divided?

1044


What are different Struts2 tags? How can we use them?

942


What are different ways to create Action classes in Struts2?

1087


How an actionform bean is created?

968


What is controller in struts ?

979