Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58906 - [REQUEST] JSTL (Java Standard Tag Library) ebuild
Summary: [REQUEST] JSTL (Java Standard Tag Library) ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jan Brinkmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-30 09:46 UTC by Luca Santarelli
Modified: 2005-04-17 10:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Santarelli 2004-07-30 09:46:11 UTC
Hello,

JSTL, also known as standard tagslib, is a useful library of tags usable in servlet containers like Tomcat.

There are two versions of tagslibs:
JSTL 1.1
http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
requires a servlet container adhering to Java Servlet 2.4 and JavaServer Pages 2.0 (e.g.: Tomcat 5)

JSTL 1.0
http://jakarta.apache.org/taglibs/doc/standard-1.0-doc/intro.html
requires a servlet container adhering to Java Servlet 2.3 and JavaServer Pages 1.2 (e.g.: Tomcat 4)

For the question "What does JSTL do?", here's an excerpt from their own homepage:
"JSTL encapsulates, as simple tags, core functionality common to many JSP applications. For example, instead of suggesting that you iterate over lists using a scriptlet or different iteration tags from numerous vendors, JSTL defines a standard <forEach> tag that works the same everywhere.

This standardization lets you learn a single tag and use it on multiple JSP containers. Also, when tags are standard, containers can recognize them and optimize their implementations.

JSTL provides support for core iteration and control-flow features, text inclusion, internationalizaton-capable formatting tags, and XML-manipulation tags. It also supports an expression language to simplify page development. Developers may also be interested in JSTL's current extensibility mechanisms; JSTL currently provides a framework for integrating custom tags with JSTL tags."

Alhough taglibs' jar file can be deployed internally to each web-app using them (via the /WEB-INF/lib/ directory) they can be installed into $TOMCAT_HOME/shared/lib/ in order to be visible to every webapp without the need to have copies and copies of the same libraries. :)

What I say can be applied to Tomcat, I have no knowledge of other servlet containers.

Regarding installation, JSTL binary distributions come with some library (like xerces). In Tomcat 4 I had to put those libraries together with jstl.jar and standard.jar (the real libs). Tomcat 5 doesn't need them.
I haven't checked it out if those two jar files can simply be put in the classpath in order to work.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-08-09 04:14:02 UTC
sorry, but i don't have any time this month(exams), i'll look into next month
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-17 10:06:48 UTC
it's now in the tree available as jakarta-jstl. atleast at the moment you have to deploy it manually.