JSTL core


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

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

JSTL 1.0 core library

Tag Library Information
Display NameJSTL core
Version1.0
Short Namec10
URIhttp://java.sun.com/jstl/core
 

Tag Summary
catchCatches any Throwable that occurs in its body and optionally exposes it.
chooseSimple conditional tag that establishes a context for mutually exclusive conditional operations, marked by and
outLike <%= ... >, but for expressions.
ifSimple 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
importRetrieves an absolute or relative URL and exposes its contents to either the page, a String in 'var', or a Reader in 'varReader'.
forEachThe basic iteration tag, accepting many different collection types and supporting subsetting and other functionality
forTokensIterates over tokens, separated by the supplied delimeters
otherwiseSubtag of that follows tags and runs only if all of the prior conditions evaluated to 'false'
paramAdds a parameter to a containing 'import' tag's URL.
redirectRedirects to a new URL.
removeRemoves a scoped variable (from a particular scope, if specified).
setSets the result of an expression evaluation in a 'scope'
urlPrints or exposes a URL with optional query parameters (via the c:param tag).
whenSubtag of that includes its body if its condition evalutes to 'true'
 

Tag Library Validator
org.apache.taglibs.standard.tlv.JstlCoreTLVNo Description
Initialization Parameters:
NameValueDescription
expressionAttributesout:value out:default out:escapeXml if:test import:url import:context import:charEncoding forEach:items forEach:begin forEach:end forEach:step forTokens:items forTokens:begin forTokens:end forTokens:step param:encode param:name param:value redirect:context redirect:url set:property set:target set:value url:context url:value when:testNo Description
 


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.