JSTL 1.2

JSTL 1.2伴随着JavaEE5释出了

The JavaServer Pages Standard Tag Library (JSTL) encapsulates as simple tags the core functionality common to many Web applications. JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization tags, and SQL tags. It also provides a framework for integrating existing custom tags with JSTL tags.

1、变化

两包变一包standard.jar, jstl.jar变成jstl1.2.jar,这一点还是不错的。

JSTL 1.2 is part of the Java EE 5 platform.

2、增强

貌似只是可以在jsf里无缝地使用jstl。打开包后看到基本上还是jstl 1.1那一套,包括fn

The JSTL 1.2 Maintenace Release aligns with the Unified Expression Language (EL) that is being delivered as part of the JavaServer Pages (JSP) 2.1 specification. Thanks to the Unified EL, JSTL tags, such as the JSTL iteration tags, can now be used with JavaServer Faces components in an intuitive way.

3、局限

需要支持servlet 2.5的容器支持

总结,总体来说,如果不是追新或使用JSF,升级还需慎重。

官方网站:http://java.sun.com/products/jsp/jstl/

你可能感兴趣的:(jstl)