1.0
1.1
foundation
http://jakarta.apache.org/taglibs/foundation
The Foundation custom tag library contains tags which can be used to
store and manipulate native java types such as Boolean, Integer,
Long, Float, etc. instead of using them within a JSP page as a String.
This tag library can support other tag libraries if they define a
BeanInfo for the beans and script variables. Special BeanInfo methods
can be defined that allow other beans and script variables to interoperate
with this tag libraries tags.
array
org.apache.taglibs.foundation.data.ArrayTag
JSP
Create a new Array object.
id
true
false
size
false
false
scope
false
false
boolean
org.apache.taglibs.foundation.data.BooleanTag
JSP
Create a new Boolean object from an object,
object property, body of tag, or default value.
id
true
false
scope
false
false
obj
false
false
default
false
false
date
org.apache.taglibs.foundation.date.DateTag
JSP
Create a new Date object.
id
true
false
obj
false
false
scope
false
false
timezone
false
false
locale
false
false
parse
false
false
format
false
false
map
org.apache.taglibs.foundation.data.MapTag
JSP
Create a new Map object.
id
true
false
scope
false
false
cookie
org.apache.taglibs.foundation.cookie.CookieTag
JSP
Create a new Cookie object that can be sent back to user.
id
true
false
name
true
false
value
false
false
comment
false
false
domain
false
false
path
false
false
maxAge
false
false
secure
false
false
version
false
false
number
org.apache.taglibs.foundation.data.NumberTag
JSP
Create a new Number object from an object,
object property, body of tag, or default value.
id
true
false
scope
false
false
obj
false
false
default
false
false
text
org.apache.taglibs.foundation.data.TextTag
JSP
Create a new text String object from an object,
object property, body of tag, or default value.
id
true
false
scope
false
false
obj
false
false
default
false
false
cookieValues
org.apache.taglibs.foundation.cookie.CookieValuesTag
Empty
Initializes a Map Script Variable with all the Cookie
names and values.
id
true
false
cookieObjects
org.apache.taglibs.foundation.cookie.CookieObjectsTag
Empty
Initializes a Map Script Variable with all the Cookie
names and Cookie data object.
id
true
false
header
org.apache.taglibs.foundation.header.HeaderTag
Empty
Initializes a Map Script Variable with all the HTTP Header
names and first value.
id
true
false
headers
org.apache.taglibs.foundation.header.HeadersTag
Empty
Initializes a Map Script Variable with all the HTTP Header
names and a value Array.
id
true
false
initParameters
org.apache.taglibs.foundation.misc.InitParametersTag
Empty
Initializes a Map Script Variable with all the web application
context init parameter names and value.
id
true
false
parameter
org.apache.taglibs.foundation.parameter.ParameterTag
Empty
Initializes a Map Script Variable with all the HTML form input
parameter names and first value.
id
true
false
parameters
org.apache.taglibs.foundation.parameter.ParametersTag
Empty
Initializes a Map Script Variable with all the HTML form input
parameter names and a value Array.
id
true
false
request
org.apache.taglibs.foundation.request.RequestTag
Empty
Initializes a Script Variable for the HTTP Request data object.
id
true
false
response
org.apache.taglibs.foundation.response.ResponseTag
Empty
Initializes a Script Variable for the HTTP Response data object.
id
true
false
session
org.apache.taglibs.foundation.session.SessionTag
Empty
Initializes a Script Variable for the HTTP Session data object.
id
true
false
addArray
org.apache.taglibs.foundation.object.AddArrayTag
JSP
Add a new object to the end of an Array. If there is no
obj attribute, the body of the tag will be added to the
array as a string.
array
true
false
obj
false
false
attributes
org.apache.taglibs.foundation.object.AttributesTag
None
Create a Map Script Variable with all the attribute
names and attribute data object for the Page, Request, Session,
or Application scope.
id
true
false
scope
false
false
print
org.apache.taglibs.foundation.print.PrintTag
Empty
Prints the value of an object or object property.
obj
true
false
printFilter
org.apache.taglibs.foundation.print.PrintFilterTag
Empty
Prints the value of an object or object property with the HTML tags
filtered for display. All '<' characters are converted to "<".
obj
true
false
printURLQuery
org.apache.taglibs.foundation.print.PrintURLQueryTag
Empty
Prints the value of an object as a text string with characters escaped
correctly for use as part of a URL HTTP GET query string.
obj
true
false
printValue
org.apache.taglibs.foundation.print.PrintValueTag
Empty
Prints the value of an object or object property for use as an
HTML forum input value with any '&' characters converted to
"&" and any '"' characters converted to """.
obj
true
false
remove
org.apache.taglibs.foundation.object.RemoveTag
Empty
Removes an object from the page, request, session,
or application scope.
obj
true
false
save
org.apache.taglibs.foundation.object.SaveTag
Empty
Saves an object to the page, request, session, or application scope.
id
true
false
obj
true
false
scope
false
false
set
org.apache.taglibs.foundation.object.SetTag
JSP
Set the value of an object property from an object or
object property, body of tag, or default value.
obj
true
false
obj2
false
false
default
false
false
setProperties
org.apache.taglibs.foundation.object.SetPropertiesTag
Empty
Set the value of an objects properties from a Map object.
obj
true
false
map
true
false
areEqual
org.apache.taglibs.foundation.logic.AreEqualTag
JSP
Include tag body if objects or object properties are equal.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
forEach
org.apache.taglibs.foundation.logic.ForEachTag
org.apache.taglibs.foundation.logic.ForEachTEI
JSP
Loop through an Array, Map, or Iterator including the tag body each time.
id
true
false
obj
false
false
begin
false
false
end
false
false
step
false
false
isArray
org.apache.taglibs.foundation.logic.IsArrayTag
JSP
Include tag body if object or object property is an array.
obj
true
false
isFalse
org.apache.taglibs.foundation.logic.IsFalseTag
JSP
Include tag body if object or object property is false.
obj
true
false
isIterator
org.apache.taglibs.foundation.logic.IsIteratorTag
JSP
Include tag body if object or object property is an iterator.
obj
true
false
isMap
org.apache.taglibs.foundation.logic.IsMapTag
JSP
Include tag body if object or object property is a Map.
obj
true
false
isPresent
org.apache.taglibs.foundation.logic.IsPresentTag
JSP
Test to see if an object exists.
obj
true
false
isTrue
org.apache.taglibs.foundation.logic.IsTrueTag
JSP
Include tag body if object or object property is true.
obj
true
false
greaterEqual
org.apache.taglibs.foundation.logic.GreaterEqualTag
JSP
Include tag body if object or object property 1 is greater than
or equal to object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
greaterThan
org.apache.taglibs.foundation.logic.GreaterThanTag
JSP
Include tag body if object or object property 1 is greater than
object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
lessEqual
org.apache.taglibs.foundation.logic.LessEqualTag
JSP
Include tag body if object or object property 1 is less than
or equal to object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
lessThan
org.apache.taglibs.foundation.logic.LessThanTag
JSP
Include tag body if object or object property 1 is less than
object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
notArray
org.apache.taglibs.foundation.logic.NotArrayTag
JSP
Include tag body if object or object property is not an array.
obj
true
false
notEqual
org.apache.taglibs.foundation.logic.NotEqualTag
JSP
Include tag body if objects or object properties are not equal.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
notIterator
org.apache.taglibs.foundation.logic.NotIteratorTag
JSP
Include tag body if object or object property is not an iterator.
obj
true
false
notMap
org.apache.taglibs.foundation.logic.NotMapTag
JSP
Include tag body if object or object property is not a Map.
obj
true
false
notPresent
org.apache.taglibs.foundation.logic.NotPresentTag
JSP
Test to see if an object does not exist.
obj
true
false
userInRole
org.apache.taglibs.foundation.logic.UserInRoleTag
JSP
Include tag body if current remote user is in a role by name.
role
true
false
userNotInRole
org.apache.taglibs.foundation.logic.UserNotInRoleTag
JSP
Include tag body if current remote user is not in a role by name.
role
true
false
endsWith
org.apache.taglibs.foundation.string.EndsWithTag
JSP
Include tag body if String object or object property 1
ends with String object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
endsWithout
org.apache.taglibs.foundation.string.EndsWithoutTag
JSP
Include tag body if String object or object property 1
does not end with String object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
isMatch
org.apache.taglibs.foundation.string.IsMatchTag
JSP
Include tag body if String object or object property 1
contains the String object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
noMatch
org.apache.taglibs.foundation.string.NotMatchTag
JSP
Include tag body if String object or object property 1
contains the String object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
startsWith
org.apache.taglibs.foundation.string.StartsWithTag
JSP
Include tag body if String object or object property 1
starts with the String object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
startsWithout
org.apache.taglibs.foundation.string.StartsWithoutTag
JSP
Include tag body if String object or object property 1
does not start with the String object or object property 2.
obj
true
false
obj2
false
false
value
false
false
ignorecase
false
false
addDateHeader
org.apache.taglibs.foundation.header.AddDateHeaderTag
JSP
Add a single HTTP date header.
name
true
false
obj
false
false
addHeader
org.apache.taglibs.foundation.header.AddHeaderTag
JSP
Add a single HTTP string header.
name
true
false
obj
false
false
addIntegerHeader
org.apache.taglibs.foundation.header.AddIntegerHeaderTag
JSP
Add a single HTTP integer header.
name
true
false
obj
false
false
encodeURL
org.apache.taglibs.foundation.response.EncodeURLTag
JSP
Encode a URL with the JSESSIONID if necessary.
encodeRedirectURL
org.apache.taglibs.foundation.response.EncodeRedirectURLTag
JSP
Encode a URL with the JSESSIONID for use with sendRedirect.
flushBuffer
org.apache.taglibs.foundation.response.FlushBufferTag
empty
Forces any content in the buffer to be written to the client.
invalidate
org.apache.taglibs.foundation.session.InvalidateTag
Empty
Invalidate a user session and remove it.
log
org.apache.taglibs.foundation.misc.LogTag
JSP
Logs the content of the tag body to the web application context log.
sendError
org.apache.taglibs.foundation.response.SendErrorTag
JSP
Return an HTTP error as the HTTP Response.
error
true
false
reset
false
false
sendRedirect
org.apache.taglibs.foundation.response.SendRedirectTag
JSP
Send a redirect to a URL as the HTTP Response.
setDateHeader
org.apache.taglibs.foundation.header.SetDateHeaderTag
JSP
Set a single HTTP date header.
name
true
false
obj
false
false
setHeader
org.apache.taglibs.foundation.header.SetHeaderTag
JSP
Set a single HTTP string header.
name
true
false
obj
false
false
setIntegerHeader
org.apache.taglibs.foundation.header.SetIntegerHeaderTag
JSP
Set a single HTTP integer header.
name
true
false
obj
false
false
skipPage
org.apache.taglibs.foundation.logic.SkipPageTag
empty
Skips the remainder of the JSP page.