1,000 + JSPs? I want in! (I could show you to code it faster).
IMO:
* JSTL should be used when ever possible!
* Try to limit use of bean and logic.
One JSTL issue I am not able to solve: Localization... it tends to work better using Struts tags, I have not found a great way to have it work using FMT tag.
hth,
.V
John Stritzinger wrote:
I'm working on a large project team that's been using the Struts taglibs, not -el taglibs, with extensive use of logic:iterate, bean:write, bean:message, and html:form with html:text and other field tags. The usual suspects, in our JSPs.
We are just about to begin work on a large development effort for a production system, about 1000+ JSP pages, and are debating whether to switch to JSTL standard taglib (1.0.3 current version). The Struts site has several references and recommendations for future work (e.g., Intro to logic taglib; struts-faces proposal; Struts 2.0; etc), and the JSP 2.0 spec, final draft 3, incorporates expression language (el).
So it sure looks like the vote is for JSTL, at least for tags such as c:forEach, c:out, and use of el. But our team is a little nervous about switching from something that's working to something that we've used (JSTL) but not extensively to the point of proven-in-production.
I've looked through the source code for some tags, like logic:iterate (IterateTag) compared to c:forEach (ForEachTag, ForEachSupport), and the JSTL code looks like it will handle our needs just fine.
Reading the JSTL bug list (short list), the type of issues discussed on this and other mailing lists, it also seems like JSTL has been stable for a while and is in wide use.
So what's the question? Well....looking for some real-world feedback about using the JSTL tags, and switching from the Struts tags to JSTL tags. Has anyone been using the JSTL standard taglib on a large site that's in production/live? Or gone through some conversion/refactoring efforts from Struts to JSTL taglibs?
Appreciate any feedback. Thanks in advance, Stritz
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
-- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA
Advanced <a href ="baseBeans.com">Struts Training</a> and project recovery in North East. Open Source <a href ="baseBeans.com">Content Management</a> basicPortal sofware Best practice<a href ="baseBeans.com">Struts Support</a> v.1.1 helper ScafflodingXPress

