News: Java Server Pages 2.0 Specification Available for Public Review
The Java Server Pages (JSP) 2.0 spec is now available for public review. Some new changes in JSP 2.0 include the ability to write taglibs without java, the addition of an expression language, and more.
- Posted by: Floyd Marinescu
- Posted on: June 21 2002 15:26 EDT
Download the JSP 2.0 spec.
Check out JSP 2.0 JSR.
- JSP expression language by Shawn Bayern on June 21 2002 22:35 EDT
- JSP expression language by Torben Norling on June 24 2002 02:45 EDT
- Java Server Pages 2.0 Specification Available for Pubic Review by Andrea Gorgone on June 22 2002 05:40 EDT
- Java Server Pages 2.0 Specification Available for Pubic Review by Darren P on June 22 2002 09:30 EDT
- Java Server Pages 2.0 Specification Available for Pubic Review by Aaron Anderson on June 22 2002 16:34 EDT
- Java Server Pages 2.0 Specification Available for Pubic Review by Floyd Marinescu on June 22 2002 17:02 EDT
- What's new? by Scott Hodson on June 22 2002 20:24 EDT
One quick way to experiment with most of the proposed features of the JSP 2.0 expression language is to download the JSTL implementation from Jakarta Taglibs, which contains an expression-language interpreter that's compliant with the JSTL 1.0 expression language (which we expect to be the core of the JSP 2.0 expression language).
The JSTL implementation at Jakarta Taglibs just had a final 1.0 release today; it's available from
--Shawn (a member of the JSP 2.0 expert group)
I wonder about the state of JSTPL compared to Struts-logic tags. I'm wondering if I should start using JSPTL or stick with the Struts-logic tags. We are about to start with a "version 2" of our product that uses struts-logic today and it would be possible to switch as we will upgrade our interface anyway. As I remember the development of Struts-logic is kind of running on halfspeed due to the fact that JSPTL was in the pipe.
Ok, so what I really think about is quality / performance issues when comparing Struts-logic with JSPTL. Maybe someone have written a nice book on the issue ;-)
Thanks // Torben Norling
I'm not unbiased (as the JSTL reference-implementation lead and author of a JSTL book), but my recommendation is to use the JSTL tags. Struts is planning on migrating to the JSTL tags for logic-based needs and is also planning on incorporating the expression into its tags (which of course will happen naturally when JSP 2.0 allows the expression language for all tag attributes and even in template text).
Thanks for your reply Shawn,
Do you know if anyone (like BEA) have started with their own JSTL-specification implementation yet. I wonder because our schedule is to release our application in Mars 2003 and I'm curious about what will happen during the year regarding JSTL.
I would guess that JSTL is treated as one of the "JSP 2.0" features and will be one big release together with the next generation EJB stuff.
There are several suites of custom tags that
do outperform JSTL already. Check out for
example Coldtags or Ticl
Brought to you from the horse's mouth:
------- Additional Comments From Craig McClanahan 2002-06-23 05:49 -------
Note that the iteration tags in the recently released JSP Standard Tag Library (JSTL) support exactly this sort of thing. In the long term, I suggest that Struts users plan to migrate to JSTL over the existing tags in the struts-bean and struts-logic libraries.
I know it's a detail, but if you have a moment, just fix that title.. it sounds weird.
Hah! Great title!
Wow, I didn't know that the JSR's are reviewed to such an extreme extent. I am sure this trumps the M$ API review process...
The title has been fixed. You can tell what was on my mind when I posted this. :)
Damn... to late :)
What was the old topic?
So can anybody give a summary of what's new with the 2.0 spec? Or do I have to read through the whole thing?
Some of the big changes seem to be:
- The inclusion of the EL (shared with JSR 52)
- The new JSP Fragments (more formal JSP componentization)
- The new .tag idea, allowing custom tags to be defined using a JSP interface, not the Java interface Tags can be placed in WEB-INF/tags, allowing us to bypass the URI declaration
- <include-prelude> allows you to include JSPs at the beginning of a set of JSPs (by url-pattern)
- <include-coda> allows you to include JSPs at the end of a set of JSPs