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.

Answers were Sorted based on User's Feedback



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

Answer / dasari ravinder

it's SAX parser we use, to parse the Struct-Config.xml file.

Is This Answer Correct ?    14 Yes 0 No

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

Answer / shivram

digester

Is This Answer Correct ?    9 Yes 0 No

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

Answer / mari

Digester is used to parse struts-config.xml

http://www.onjava.com/pub/a/onjava/2002/10/23/digester.html

Is This Answer Correct ?    9 Yes 0 No

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

Answer / 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

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

Answer / sudhakar

The Digester class parser the XML document. The Digester
framework comes with 10 prepackaged "rules," which cover
most of the required tasks when unmarshalling XML (such as
creating a bean or setting a bean property), but each user
is free to define and implement his or her own rules, as
necessary.

Is This Answer Correct ?    5 Yes 0 No

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

Answer / 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

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

Answer / ankit

I am in confusion give me right answer. But i think it's
SAX parser

Is This Answer Correct ?    5 Yes 1 No

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

Answer / johnson ashish joseph

See what happens is that Struts uses the Digester to map the xml data in the struts-config.xml to java objects.
Now internally digester needs a Sax parser and it could do with either a xerces/crimson parser as both are sax parsers

Is This Answer Correct ?    3 Yes 0 No

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

Answer / gcd

just give the right answer ????????????

Is This Answer Correct ?    2 Yes 0 No

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

Answer / srinivas

please give exact answer.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Struts Interview Questions

What are best practices to follow while developing Struts2 application?

0 Answers  


What is xml based validation in struts2?

0 Answers  


How many servlet controllers are used in a Struts Application?

0 Answers  


What is Model 1 and Model 2?

3 Answers  


how the error can be showed in the jsp page in struts?

3 Answers   Wipro,


What is the purpose of @conversion?

0 Answers  


What is struts framework in java?

0 Answers  


we have 7 jsp pages .At last page we have a submit button when we click it it will store all jsps data which we provide will store into database. when we starting providing data in jsp pages when we are at 3rd jsp at that time sessions timeout where the data will be store which we r provide in last two jsps?

2 Answers  


How do I access token?

0 Answers  


What are different ways to create Action classes in Struts2?

0 Answers  


What is the DynaActionForm? How we implement the dynaactionform ? can u please tell me the way to implement? in understandable way?

8 Answers   JBA Infotech,


What is the purpose of @doublerangefieldvalidator annotation?

0 Answers  


Categories