Introduction
JavaServer Pages Standard Tag Library (JSTL) is one of the most significant additions to JSP since the introduction of JSP itself.
jtsl是自推出jsp以来jsp最重要的组成。
JSP has traditionally been programmed using scriptlet code—Java source code that is inserted along with the HTML that normally makes up a Web page.
传统Jsp是使用脚本代码也就是在普通Html标记中插入java源代码的办法。
JSTL seeks to use tags—similar to those that make up HTML—to replace JSP scriptlet programming.
jstl使用类似html标记的标签来替代jsp脚本编程。
The purpose of this book is to teach you to use JSTL.
本书的目标是教你学会使用jstl。
First, we must determine exactly what JSTL is.
首先,我们给jstl一个准确的定义
JSTL is a tag library and, as such, is programmed using tags.
jstl是标签库同时是用标签编写的
These tags are similar to the tags you use to program HTML—which is one of the key advantages of JSTL.
这些标签类似你过去编写的html,这也是jstl的重要优势。
This similarity is intended is to help alleviate the sharp contrast between the HTML intermingled with JSP scriptlet code.
这点相似之处是特意用了帮助减少html和jsp脚本明显的差异。
Because JSTL is tag-based, it flows much cleaner with the HTML code.
由于jstl是基于标签的,所以它与html代码更加整洁的表现流程。