Tuesday, October 20, 2009

Chapter 11. JSTL Reference








 

 




















































Chapter 11. JSTL Reference





Topics in This Chapter





  • Action Reference Index



  • General-Purpose Actions



  • Conditional Actions



  • Iteration Actions



  • URL Actions



  • Internationalization Actions



  • Formatting Actions



  • Database Actions



  • XML Core Actions



  • XML Flow Control Actions



  • XML Transform Actions







JSTL 1.0 has 42 actions, each of which has an average of two syntaxes and four attributes. That's a lot of information, most of which will eventually become second nature to you the more you use JSTL. In the meantime, this chapter provides a handy reference that summarizes each action with brief discussions of the action's syntaxes, attributes, and error handling.



JSTL provides four tag libraries, which are listed in Table 11.1.



























Table 11.1. JSTL Tag Libraries


Library





Actions





Description





See Page





Core





14





Fundamentals: If/then statements and switch constructs, creating output, creating and destroying scoped variables, accessing properties of JavaBeans components (beans), handling exceptions, iterating over collections, and constructing URLs and importing their content.





469





Formatting





12





Internationalization and Formatting: Setting locales and resource bundles, localizing text and compound messages, formatting numbers, percents, currencies, and dates.





492





SQL





6





Database Access: Specifying a data source, executing queries, updates, and transactions, iterating over query results.





529





XML





10





XML Parsing and Transforming: Parsing XML and transforming it with XSLT.





543





This chapter provides references for the actions contained in the tag libraries listed above, in the order in which they are listed.


















     

     


    No comments: