You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Woodchuck <wo...@yahoo.com> on 2005/09/07 23:05:54 UTC
[OT-ish] Re: JSTL TLD confusion
i see. i'm using Tomcat 5.5.9 with servlet spec 2.4 right now. i will
update to the JSTL found in the Jakarta Standard 1.1 Taglib
distribution.
thanks, Wendy! :)
the way JSTL exists right now does not help alleviate the confusion
imho. please correct me if i'm wrong but for example, if you go to
Sun's official page about JSTL (http://java.sun.com/products/jsp/jstl),
you can find tutorials that dive right into JSTL, and also download API
docs for JSTL. but nowhere can you find the actual TLD files (nor the
standard.jar or jstl.jar) for download.
yet, the Jakarta project seems to be the 'keeper' of JSTL, since the
files required to use JSTL are found in the Struts and Standard Taglib
distributions.
there is no mention of this 'link' to Jakarta on Sun's website. even
googling takes a while to finally find someone mentioning about where
to get the files.
does Sun not want to acknowledge Jakarta? why does JSTL seem to be a
tucked away goody hidden away for those lucky enough to find it?
is it just me? lol :p
woodchuck
--- Wendy Smoak <ja...@wendysmoak.com> wrote:
> From: "Woodchuck" <wo...@yahoo.com>
>
> > which is the 'official' version we should be using?
>
> It depends on what version of the Servlet spec you're using.
>
> Struts-EL goes with JSTL 1.0 on Servlet 2.3. That's what you see in
> the
> Struts 1.2.7 distribution in the 'contrib' directory.
>
> When you move to JSTL 1.1 (and Servlet 2.4) then you go back to the
> original
> (non-EL) Struts tags, because you gain the ability to use expressions
>
> anywhere in the page.
>
> If you still need help, tell us what version of what Servlet
> container
> you're using.
>
> --
> Wendy Smoak
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT-ish] Re: JSTL TLD confusion
Posted by Woodchuck <wo...@yahoo.com>.
--- Wendy Smoak <ja...@wendysmoak.com> wrote:
> There is a Reference Implementation available from Sun at the bottom
> of
> http://jcp.org/aboutJava/communityprocess/final/jsr052/ (linked to
> from the
> URL you posted above).
actually i visited that page before but only found docs for download.
no actual implementation...
> Jakarta has another implementation of the spec, called "Jakarta
> Standard
> Taglib". (One implementation for each version of the JSTL spec.)
> And that
> (the 1.0 verson) is what Struts distributes with Struts-EL.
>
> If I got all my acronyms straight, hopefully that clears things up
> somewhat.
> :)
yea, i went there just now and saw the 1.1 and the 1.0 implementations,
and also the note about which implementation works under with which
servlet and jsp specs.
i think my confusion relates to 'spec' vs 'implementation'. Sun seems
to be the keeper of the specs, while Jakarta implements them. i keep
expecting everything to be in one place, because they have tutorials
and all sorts of documentation on it. but in reality, it's like "we
have lots of info about it here, but we don't actually know where to
get it, sorry..."
are there even other implementations of JSTL (ie. by other vendors)?
...don't answer that. it only took one implementation to confuse me,
lol. and i'm happy with it, and in fact the perfect world would only
have one implementation of every spec known to mankind. wouldn't that
be great! :D
woodchuck
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT-ish] Re: JSTL TLD confusion
Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "Woodchuck" <wo...@yahoo.com>
> the way JSTL exists right now does not help alleviate the confusion
> imho. please correct me if i'm wrong but for example, if you go to
> Sun's official page about JSTL (http://java.sun.com/products/jsp/jstl),
> you can find tutorials that dive right into JSTL, and also download API
> docs for JSTL. but nowhere can you find the actual TLD files (nor the
> standard.jar or jstl.jar) for download.
This is what Niall was trying to clarify about my post. :) What we call
"JSTL" is really the JavaServer Pages Standard Tag Library Specification.
There is a Reference Implementation available from Sun at the bottom of
http://jcp.org/aboutJava/communityprocess/final/jsr052/ (linked to from the
URL you posted above).
> yet, the Jakarta project seems to be the 'keeper' of JSTL, since the
> files required to use JSTL are found in the Struts and Standard Taglib
> distributions.
Jakarta has another implementation of the spec, called "Jakarta Standard
Taglib". (One implementation for each version of the JSTL spec.) And that
(the 1.0 verson) is what Struts distributes with Struts-EL.
If I got all my acronyms straight, hopefully that clears things up somewhat.
:)
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org