"...you've got to ask yourself one question, Do I feel lucky?"
Originally posted by Kees van Oosterhout:
Has anybody seen the JavaServer pages Standard Tag Library? The goal is: "..to simplify a jsp page for a Web Author". I think this is not accomplished with the current implementation, using a expression language. What is your opinion?
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
- ComputerSage -
Originally posted by Tiago Nodari:
As for the taglib, its looks really powerful, and useful, that is what got me looking for material and examples, but with no examples or material on using the JSTL without EL, I my learning at a halt
As for the books that are coming out, hopefully they are not using EL in the entire book. Maybe Shawn can tell us about his book
I loved Web Development with JavaServer Pages�
I dont know if the EL will bridge the gap between non-java coders and JSP, I think it will just drive the java coders nuts, since java coders are going to be bugged the entire time to provide variables with content in this format, or that and etc... I see a lot o ppl in lists asking who to format date, how to manipulate strings and etc and I don�t think the EL is going to solve all that. I Know the JSTL has some taglibs that will help with some of these things, but the bottom line is JSP will still need Java coders and now with EL, is one more thing for us to learn
But to the JSTL team, I have to say congratulations, since the Taglib looks really useful...
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
Originally posted by Paulo Lima:
What the advantage in using
${user.name}
instead of
<jsp:getProperty name="user" property="name" />
The latter is XML syntax-like. I know that the former is shorter.
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Originally posted by John Wetherbie:
One complaint I do have is documentation, or the lack thereof. I started out by reading Sun's Web Services tutorial and apparently the JSTL syntax in there is rather outdated. I need help from Shawn (in this forum!) and the JSTL spec to get going in the right direction.
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Originally posted by sonyabraham:
The tags like "<forEach>" and "<forTokens>" helps JHTML developers very much as we have similar tags from ATG ( <DROPLET forEach> and <DROPLET Switch> ) .
It would be really helpful if JSTL provides standard tags for pagination and sorting.
The bottom line is that, JSTL makes the job
easier for JSP developers and there by enabling Solutions providers to deliver high quality web applications in very short timelines.
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
Originally posted by Andrew Perepelytsya:
> The real power of JSTL is in the new standard >tags it provides.
Guys, I hope everybody understands, that those tags are NOT new. Eventually all of them are re-implementation of the well-working third-party tags. Though, in a standard way, which helps a lot.
I'd like somebody to clear out some questions for me (preferrably in a grounded professional way).
There are now 2 implementations of JSTL - from SUN and Jakarta Apache project. What are the real differences? (if there are any known). I know Apache takes very active part in JCP, so...
Next, does the EL really help in MVC applications? I'd like to hear from people who had some practical experience with that. (Though it's quite possible, none are available yet
I used Struts framework for my last project (it was quite an ambitious one, and it's still going on BTW). And I do not see ANY advantage in using (sorry for some possible mistakes in JSTL syntax, but the idea is clear here):
In, general, JSTL effort is great. On the other side, is it really that great to switch from the solutions where you already have a broad expertise? And in some aspects, Struts framework is more robust and well-designed (but this can be explained by its relative maturity over JSTL).
And finally, the question that interests me most today. With the emerging Java Server Faces technology what place will the JSTL have? How well will it be integrated with JSF?
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
Originally posted by Paulo Lima:
But I'm not sure if JSTL is better that TAGLIB.
What the advantage in using
${user.name}
instead of
<jsp:getProperty name="user" property="name" />
The latter is XML syntax-like. I know that the former is shorter.
Regards,
Paulo Lima.
Jayson Falkner<br />jayson@jspinsider.com<br />Author of <a href="http://www.jspbook.com" target="_blank" rel="nofollow">Servlets and JavaServer Pages; the J2EE Web Tier</a>
Originally posted by Shawn Bayern:
Faces will interoperate with JSTL, and it looks as if Faces will use an amplified version of the JSTL expression language. That is, in addition to more familiar uses of the EL, it may also use the EL for assigning data (rather than just retrieving it).
Please let me know if you have any followup questions.
Originally posted by Pete Cassetta:
Are you in on the JSF specification? You seem to have some information that I haven't seen publicly released yet.
Basically, my question is when will the JSF spec become public
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
Anselme Bender<br />SCJP2
Originally posted by Anselme Bender:
Hello Shawn,
What is the overread of using JSTL compared to JSP only ?
Does JSTL need an additional pass of compilation or something like that ?
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
Originally posted by Shawn Bayern:
Note that the Community Draft Ballot is just one milestone of many under the rules of the Java Community Process. Following Community Draft, there's a Public Draft and a Proposed Final Draft; then, the FCS specification is released.
"...you've got to ask yourself one question, Do I feel lucky?"
"...you've got to ask yourself one question, Do I feel lucky?"
Consider Paul's rocket mass heater. |