Originally posted by Pradeep Bhat:
Hi Java ranchers,
JSTL requires Servlet 2.3 and jsp 1.2 version. May I know the reason.
If true,this will be bad news for me becoz I cannot use it with Sun One web server used in my project.
JSTL requires JSP 1.2 because it depends on some of JSP 1.2's new features. (This includes at least TagLibraryValidator, IterationTag, and a fuller specification of the tag-handler lifecycle protocol.)
You can use JSTL with the Web Services Developer Pack, with which it is bundled. You may also use it with Tomcat 4.x or any modern JSP 1.2 container. JSP 1.1 is shortly going to be two versions out of date, as JSP 2.0 is just around the corner.
Originally posted by John Wetherbie:
Has any thought been given to retro-fitting JSTL to JSP 1.1? Or is this not worth the effort?
Not really. It's mostly a matter of correctness and semantic expressiveness; JSP 1.1 simply doesn't support all the nuances that JSTL 1.0 relies on. Someone could always come up with a JSTL-like set of taglibs that runs on JSP 1.1, but it's not possible to implement JSTL 1.0 completely using JSP 1.1.
I also think you're right that even if it were possible, it might not be worth the effort. With JSP 2.0 just around the corner, JSP 1.1 is about to be two revisions behind. That doesn't mean it won't continue to be supported; all enterprise technologies are supported for quite a long time. It just means new features, like JSTL (and anything that JSP 2.0 brings to the table), need not be retrofitted to older versions of JSP.