JSP 2.0 Article in July JDJ
I got the July issue of JDJ today. In it I found a good article on JSP 2.0 (printable, less ads version). Things I learned from the article:
- JSTL 1.1 will introduce 16 standardized EL functions:
- fn:length(): Get the length of a collection or a string.
- fn:toUpperCase(), fn:toLowerCase(): Change the capitalization of a string.
- fn:substring(), fn:substringBefore(), fn:substringAfter(): Get a subset of a string.
- fn:trim(): Trim whitespace from a string.
- fn:replace(): Replace characters in a string.
- fn:indexOf(), fn:startsWith(), fn:endsWith(), fn:contains(), fn:containsIgnoreCase(): Check if a string contains another string.
- fn:split(): Split a string into an array.
- fn:join(): Join a collection into a string.
- fn:escapeXml(): Escape XML characters in a string. - The tag libraries in JSTL 1.1 have new URIs (for example, http://java.sun.com/jsp/jstl/core instead of the JSTL 1.0 equivalent http://java.sun.com/jstl/core_rt). The new JSTL 1.1 tag libraries accept request-time expressions for their attributes, and delegate to the JSP container to evaluate EL expressions.
Good stuff to know. I'm ready to start developing JSP 2.0 apps - I hope the Tomcat dev team releases a stable build soon. Or maybe I should just look into using Resin...
Posted by Lance on July 11, 2003 at 01:48 PM MDT #
Posted by Ken Pelletier on January 31, 2004 at 01:47 AM MST #
Posted by Ken Pelletier on January 31, 2004 at 02:07 AM MST #
Posted by hudz on October 06, 2006 at 07:26 AM MDT #