站内搜索: 请输入搜索关键词
当前页面: 图书首页 > Servlets and JavaServer Pages: The J2EE Technology Web Tier

Servlets and JavaServer Pages: The J2EE Technology Web Tier

[ directory ]Justification for Skipping the SQL Tags Chapter7.        Custom Tag Libraries

Summary

The JSTL is a helpful tool for a JSP developer; it provides a standard set of custom tags that extend the standard JSP actions to incorporate the most commonly needed custom tags. Additionally, the JSTL expression language is a powerful new feature available to custom tag authors.

The JSTL is most helpful because it defines a standard set of iteration tags and conditional tags and because it inspired the JSP EL. These features of the JSTL aid a JSP developer in rapidly creating JSP without requiring the use of scripting elements. The expression language is particularly helpful because it is designed specifically for JSP. Compared to embedding Java syntax in a regular expression, the JSP EL is much more convenient.

Not all parts of the JSTL are intended for use by all JSP developers. Tags such as the SQL tags work, but are not suggested for use by readers of this book. A solid understanding of Java provides a finer, more flexible, and native solution to achieving the same functionality.

[ directory ]Justification for Skipping the SQL Tags Chapter7.        Custom Tag Libraries