write - Render the value of the specified bean property to the current JspWriter.

Retrieve the value of the specified bean property, and render it to the current JspWriter as a String by the ways:

If a problem occurs while retrieving the specified bean property, a request time exception will be thrown.

Attribute Name Description
bundle

The name of the application scope bean under which the MessageResources object containing our messages is stored.

[Globals.MESSAGES_KEY] [RT Expr]
filter

If this attribute is set to true, the rendered property value will be filtered for characters that are sensitive in HTML, and any such characters will be replaced by their entity equivalents.

[true] [RT Expr]
format

Specifies the format string to use to convert bean or property value to the String. If nothing specified, then default format string for value data type will be searched in message resources by according key.

[RT Expr]
formatKey

Specifies the key to search format string in application resources.

[RT Expr]
ignore

If this attribute is set to true, and the bean specified by the name and scope attributes does not exist, simply return without writing anything. If this attribute is set to false, a runtime exception to be thrown, consistent with the other tags in this tag library.

[false] [RT Expr]
locale

The name of the session scope bean under which our currently selected Locale object is stored.

[Globals.LOCALE_KEY] [RT Expr]
name

Specifies the attribute name of the bean whose property is accessed to retrieve the value specified by property (if specified). If property is not specified, the value of this bean itself will be rendered.

[Required] [RT Expr]
property

Specifies the name of the property to be accessed on the bean specified by name. This value may be a simple, indexed, or nested property reference expression. If not specified, the bean identified by name will itself be rendered. If the specified property returns null, no output will be rendered.

[RT Expr]
scope

Specifies the variable scope searched to retrieve the bean specified by name. If not specified, the default rules applied by PageContext.findAttribute() are applied.

[RT Expr]