Home arrow JavaScript arrow JSTL: Getting Started
JAVASCRIPT

JSTL: Getting Started


The JSP Standard Tag Library, or JSTL for short, is a standardized set of custom tags used in Java that can save programmers a lot of time and trouble. This article explores the basics of the JSTL.

Author Info:
By: A.P.Rajshekhar
Rating: 5 stars5 stars5 stars5 stars5 stars / 13
June 20, 2006
TABLE OF CONTENTS:
  1. · JSTL: Getting Started
  2. · JSTL: Understanding the Terminology
  3. · JSTL: Understanding the Types
  4. · JSTL in the Real World

print this article
SEARCH DEVARTICLES

JSTL: Getting Started
(Page 1 of 4 )

Don't Repeat Yourself, also known as the DRY principle, is a philosophy that reduces development time and increases the efficiency of a team working on a web application. Scripting languages such as PHP, Ruby based RoR, and so on, have this idea as part of their core architectural design. But for compiled languages such as Java (say servlets), it was not part of their core, especially for the View aspect.

However, this began to change for Java when JSP was brought to the fore. JSP provided all the required objects as implicit objects, including session and request related objects. Even though the implicit objects reduced the development time,  the development of the View aspect was more or less based on reinventing the wheel.

The code implementing iteration and branching was this kind of code. This was the situation until custom tags were introduced. After their introduction, many of the daily routine codes, such as branching and looping over varied collections, made their appearance as custom tags. The standardized set of such custom tags is known as the JSP Standard Tag Library, or JSTL for short.

In this discussion I will be focusing on the basics of JSTL. The first section will focus on the terminology of the JSTL. The sets of tags within JSTL will be the focus of the second section. In the third section I will develop an application that will provide a simple interface for displaying retrieved data using the JSTL. That sets the theme for this discussion.


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials