This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Originally posted by Pradeep Bhat: Hi, How long is the Learing curve for JSTL?
JSTL was designed to be extremely easy to use. One of its goals is to easily accessible even to nonprogramming "page authors," so if you're a Java programmer, you should be able to pick it up very easily. With the help of books like JSTL in Action, it shouldn't take very long at all. To help you get starting, Manning and I have made available a free bundle of JSTL, a JSP container, and the source code from JSTL in Action. This lets you get started experimenting with JSTL in a few minutes; simply download the bundle from http://www.manning.com/bayern/jstlPackage.zip, unzip it, and follow the directions at http://www.manning.com/getpage.html?project=bayern&filename=source.html. At this point, you can begin looking at the source-code examples and editing them as you see fit in order to experiment and learn. To give you a specific example, the JSTL expression language should take most people about 10 minutes to learn; at least, you can master about 90% of the expression language in that time, and the remaining subtleties don't matter much for most applications. The individual tags are each easy to learn; determining how <cut> or <fmt:formatNumber> work is a very simple task indeed. Try it - I think you'll be pleased with how easy it is.
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
Thanks Shawn for ur reply. I have downloaded the .zip. I will start working very soon. Some of my friends feel that there are some shortcomings in JSTL. Do u agree ?
Joined: May 06, 2002
Originally posted by Pradeep Bhat: Thanks Shawn for ur reply. I have downloaded the .zip. I will start working very soon. Some of my friends feel that there are some shortcomings in JSTL. Do u agree ?
Well, I'm biased -- since I had the opportunity, being on the JSR-052 expert group, to redress any shortcomings I noticed. Seriously, I think that JSTL is an incredibly good standard. Most of the industry seems to agree and is giving JSTL its support. I think Sun, Oracle, IBM, Macromedia, and the other major players are happy with the way it turned out (though of course I can't speak for any of them directly). What shortcomings have your friends noticed? I think many people are often skeptical of new standards, but I've found (through discussions on JavaRanch and Usenet) that once people look at the JSTL specification and begin to experiment with it, they find it suits their needs very nicely.
Originally posted by Pradeep Bhat: Some of my friends feel that there are some shortcomings in JSTL.
You'll have to enumerate the shortcomings to get a better response, but my experience is that JSTL is quite good. If you've tried similar tag libraries from Jakarta Taglibs or Struts, then you can use JSTL right away. The design is clean and well executed. My only gripe is that I want more than what JSTL provides by itself. But it's understandable that JSTL had to have some boundaries. I just have to enjoy what it provides and then go beyond it where necessary. I've found some useful stuff in Jakarta taglibs that isn't in JSTL, and I'm waiting eagerly to see what is provided in JavaServer Faces. The user-interface support in JSF should be a real boon; Web developers spend a lot of time on user-interface issues, and that's the most important area (to me) which JSTL didn't try to address.