JavaScript
  Home arrow JavaScript arrow JSTL: Getting Started
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

JSTL: Getting Started
By: A.P.Rajshekhar
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 8
    2006-06-20

    Table of Contents:
  • JSTL: Getting Started
  • JSTL: Understanding the Terminology
  • JSTL: Understanding the Types
  • JSTL in the Real World

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    JSTL: Getting Started


    (Page 1 of 4 )

    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.

    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.

    More JavaScript Articles
    More By A.P.Rajshekhar


       · Hi allJSTL provides HTML like tags for almost all the common routines in Java. In...
     

    JAVASCRIPT ARTICLES

    - Book Review: Learning the Yahoo! User Interf...
    - Dynamically Generate a Selection List in a R...
    - Intergrate DWR into Your Java Web Application
    - Detect Browser Compatibility with the Reques...
    - Using the EXT JS Date Picker Widget
    - Ajax Hack for Entering Information Without R...
    - EXT JS 2.1 Overview
    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables
    - Assigning Background Colors Dynamically to Z...
    - Building Zebra Tables with CSS and JavaScript
    - JavaScript: Array Objects
    - A Closer Look at Smart Markers with Yahoo! M...
    - Using Polylines and Smart Markers with Yahoo...







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway