|
INTERVIEW QUESTIONS
J2EE
STRUTS
DETAILS
Question: What are the various Struts tag libraries?
Answer: The Struts distribution includes four tag libraries for the JSP framework (in struts-config.xml) :
* Bean tag library [ struts-bean.tld ] : Contains tags for accessing JavaBeans and their properties. Developers can also define new beans and set properties * HTML tag library [ struts-html.tld ] : Contains tags to output standard HTML, including forms, textfields, checkboxes, radio buttons * Logic tag library [ struts-logic.tld ] : Contains tags for generating conditional output, iteration capabilities and flow management * Tiles or Template tag library [ struts-tiles.tld / struts-template.tld ] : For tiles implementation * Nested tag library [ struts-nested.tld ] : allows the use of nested beans.
The libraries are designed to:
* Facilitate the separation of presentation and business logic. * Dynamically generate Web pages. * Implement the flow of control to and from the ActionServlet.
Submitted by Krishnam R Lalisetti ([email protected] )
|
|
|
Category |
Struts Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 7925 users |
Added on |
10/14/2010 |
Views |
78478 |
Rate it! |
|
|
Question:
What are the various Struts tag libraries?
Answer:
The Struts distribution includes four tag libraries for the JSP framework (in struts-config.xml) :
* Bean tag library [ struts-bean.tld ] : Contains tags for accessing JavaBeans and their properties. Developers can also define new beans and set properties * HTML tag library [ struts-html.tld ] : Contains tags to output standard HTML, including forms, textfields, checkboxes, radio buttons * Logic tag library [ struts-logic.tld ] : Contains tags for generating conditional output, iteration capabilities and flow management * Tiles or Template tag library [ struts-tiles.tld / struts-template.tld ] : For tiles implementation * Nested tag library [ struts-nested.tld ] : allows the use of nested beans.
The libraries are designed to:
* Facilitate the separation of presentation and business logic. * Dynamically generate Web pages. * Implement the flow of control to and from the ActionServlet.
Submitted by Krishnam R Lalisetti ([email protected] ) Source: CoolInterview.com
Struts supports two types of tag libraries.
1. Basic tag libraries 2. User defined tag libraries (Struts allows the user to create his own tag libraries).
Struts supports below basic tag libraries by default..
1. Bean Tag Library 2. Logic Tag Library 3. Nested Tag Library 4. HTML tag Library 5. Nested Tag Library Source: CoolInterview.com
Answered by: Venu | Date: 12/27/2009
| Contact Venu
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is the difference between ActionErrors and ActionMessages?
|
View Answer
|
|
How you will handle errors and exceptions using Struts?
|
View Answer
|
|
How you will save the data across different pages for a particular client request using Struts?
|
View Answer
|
|
What we will define in Struts-config.xml file. And explain their purpose?
|
View Answer
|
|
What is the purpose of tiles-def.xml file, resourcebundle.properties file, validation.xml file?
|
View Answer
|
|
What is Action Class? What are the methods in Action class?
|
View Answer
|
|
Explain about token feature in Struts?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Struts Interview Questions & Answers - Exam Mode /
Learning Mode
|