JSTL core


Standard Syntax:
     <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

XML Syntax:
     <anyxmlelement xmlns:c="http://java.sun.com/jsp/jstl/core" />

JSTL 1.1 core library

Tag Library Information
Display NameJSTL core
Version1.1
Short Namec
URIhttp://java.sun.com/jsp/jstl/core
 

Tag Summary
catch Catches any Throwable that occurs in its body and optionally exposes it.
choose Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by <when> and <otherwise>
if Simple conditional tag, which evalutes its body if the supplied condition is true and optionally exposes a Boolean scripting variable representing the evaluation of this condition
import Retrieves an absolute or relative URL and exposes its contents to either the page, a String in 'var', or a Reader in 'varReader'.
forEach The basic iteration tag, accepting many different collection types and supporting subsetting and other functionality
forTokens Iterates over tokens, separated by the supplied delimeters
out Like <%= ... >, but for expressions.
otherwise Subtag of <choose> that follows <when> tags and runs only if all of the prior conditions evaluated to 'false'
param Adds a parameter to a containing 'import' tag's URL.
redirect Redirects to a new URL.
remove Removes a scoped variable (from a particular scope, if specified).
set Sets the result of an expression evaluation in a 'scope'
url Creates a URL with optional query parameters.
when Subtag of <choose> that includes its body if its condition evalutes to 'true'
 

Tag Library Validator
org.apache.taglibs.standard.tlv.JstlCoreTLV Provides core validation features for JSTL tags.
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.