Appendix A. JSTL Reference

printer-friendly version of this section  Print  e-mail this section  E-Mail  add a public, group or private note  Add Note  add a bookmark about this section  Add Bookmark    

JSTL: JSP Standard Tag Library Kick Start
By Jeff Heaton

Table of Contents


This appendix contains an alphabetical listing of the JSTL tags. The tags are grouped according to the four tag libraries that make up JSTL. We present each tag, along with the attributes used with that tag.

JSTL supports the notion of twin tag libraries. The tags shown here are from the more commonly used EL library. These tags are capable of handling expressions of the following form:

<c:set var="a" value="${100*100}"/> 

In addition to the EL expression language, JSTL includes a second set of tags that are able to process RT expressions. To specify the RT twin library, you must append the suffix -rt to the end of the tag library name. For example, the tag <c:set> becomes <c-rt:set>. The following tag uses the RT expression language:

<c-rt:set var="a" value="<%=100*100%>"/> 

In general, you should use the EL expression language whenever possible. The older RT expression language is included primarily for compatibility with older code.


    printer-friendly version of this section  Print  e-mail this section  E-Mail  add a public, group or private note  Add Note  add a bookmark about this section  Add Bookmark    
    Top

    [0672324504/app01]

     
     


    JSTL. JSP Standard Tag Library Kick Start
    JSTL: JSP Standard Tag Library Kick Start
    ISBN: 0672324504
    EAN: 2147483647
    Year: 2001
    Pages: 93
    Authors: Jeff Heaton

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net