Wednesday, November 28, 2007

What are Tag Libraries provided with Struts?

Struts supports following tag libraries:

a).Bean Tags: All tags which correspond to struts-bean.tld  provide capability of accessing beans related activities.

b).HTML Tags: All tags which correspond to struts-html.tld used for HTML UI/Forms creation.

c).Logic Tags: All tags which correspond to struts-logic.tld  manages condition based logic,iterate over a statement based on some logic and application flow  management.

d).Nested Tags: All tags which correspond to struts-nested.tld make it easy to manage nested beans.

e).Template Tags:
All tags which correspond to struts-template.tld used for template creation while providing better maintenance of such websites.

f). Tiles Tags:
All tags which correspond to struts-tiles.tld

Java Standard Tag Library (or JSTL as it's known), provides a specification for four separate areas of concern:

    * Core
    * XML Processing
    * Internationalization
    * Database

The specification also describes an expression language (EL) that is designed to simplify page development.Struts 1.1 even includes a version of the JSTL Tags based on the new Expression Language.

Some JSTLs:

c.tld 
c-rt.tld 
fmt.tld 
fmt-rt.tld 
sql.tld 
sql-rt.tld 
x.tld 
x-rt.tld

0 comments :

 

Disclaimer
Interview Questions On Java,Java EE Copyright © 2016. Reads: best tracker