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

Describe the mvc on struts?

964


How can you create your custom interceptor in struts 2?

956


What does i18n interceptor?

1050


How an actionform bean is created?

976


Which interceptor is responsible for i18n support?

942


What is execute method in struts?

952


What is struts.devmode?

1059


Mark the differences between html tags and strut specific html tags.

980


What are the struts2 configuration properties that control file uploading process?

1140


Explain about the validation steps which have to be carried during validation of client-side address?

987


How action-mapping tag is used for request forwarding in struts configuration file?

961


What is the use of struts config xml file?

879


Whats the difference between the default namespace and the root namespace?

986


What is the difference between requestaware and servletrequestaware interface?

1053


Why are frameworks used?

1005