JSTL
   HOME

TheInfoList



OR:

The Jakarta Standard Tag Library (JSTL; formerly JavaServer Pages Standard Tag Library) is a component of the Java EE
Web application A web application (or web app) is application software that is accessed using a web browser. Web applications are delivered on the World Wide Web to users with an active network connection. History In earlier computing models like client-serve ...
development platform. It extends the JSP specification by adding a
tag library Jakarta Server Pages (JSP; formerly JavaServer Pages) is a collection of technologies that helps software developers create dynamically generated web pages based on HTML, XML, SOAP, or other document types. Released in 1999 by Sun Microsystems, J ...
of JSP tags for common tasks, such as
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. T ...
data processing, conditional execution,
database In computing, a database is an organized collection of data stored and accessed electronically. Small databases can be stored on a file system, while large databases are hosted on computer clusters or cloud storage. The design of databases sp ...
access, loops and
internationalization In economics, internationalization or internationalisation is the process of increasing involvement of enterprises in international markets, although there is no agreed definition of internationalization. Internationalization is a crucial strateg ...
. JSTL was developed under the Java Community Process (JCP) as Java Specification Request (JSR) 52. On May 8, 2006, JSTL 1.2 was released, followed by JSTL 1.2.1 on Dec 7, 2011. JSTL provides an effective way to embed logic within a JSP page without using embedded
Java Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's List ...
code directly. The use of a standardized tag set, rather than breaking in and out of Java code, leads to more maintainable code and enables separation of concerns between the development of the
application Application may refer to: Mathematics and computing * Application software, computer software designed to help the user to perform specific tasks ** Application layer, an abstraction layer that specifies protocols and interface methods used in a c ...
code and
user interface In the industrial design field of human–computer interaction, a user interface (UI) is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine f ...
. There are a total of six JSTL tag library descriptors: * Core library. E.g. and * i18n-capable formatting library * * Database tag library, contains tags for querying, creating and updating database table. * XML library * functions library * TLVs allow translation-time validation of the XML view of a JSP page. The TLVs provided by JSTL allow tag library authors to enforce restrictions regarding the use of scripting elements and permitted tag libraries in JSP pages. In addition to JSTL, the JCP has the following JSRs to develop standard JSP tag libraries:
JSR 128
JESI – JSP Tag Library for Edge Side Includes (inactive)
JSR 267
JSP Tag Library for Web Services


See also

*
Unified Expression Language The Jakarta Expression Language (EL; formerly Expression Language and Unified Expression Language) is a special purpose programming language mostly used in Jakarta EE web applications for embedding and evaluating expressions in web pages. The s ...


References


External links

*
JSTL TLDDocs

JSR 52
(JSTL 1.0, 1.1, and 1.2)

an implementation of JSTL (retired)
Apache Standard Taglib
an implementation of the JSP Standard Tag Library (JSTL) specification


JSTL 1.2 home page


* ttp://docs.oracle.com/javaee/5/jstl/1.1/docs/tlddocs/ JSTL 1.1 References
JSF 2.1 Facelets Tag Library Documentation
re
Java EE Technical Documentation
/ref>

(as JSTL does not offer any tags for website security) {{Jakarta EE Java enterprise platform Java specification requests