Javaserver Pages Syntax Page 7

ADVERTISEMENT

Standard Elements
Usage
Description
Syntax
JSP
XML
<jsp:plugin>
A
Causes the execution of an
<jsp:plugin
<jsp:plugin
applet or bean. The applet or
type="bean|applet" code="classFileName"
type="bean|applet" code="classFileName"
bean executes in the specified
codebase="classFileDirectoryName"
codebase="classFileDirectoryName"
plugin. If the plugin is not
[ name="instanceName" ] [ archive="URIToArchive, ..." ]
[ name="instanceName" ] [ archive="URIToArchive, ..." ]
available, displays a dialog to
[ align="bottom|top|middle|left|right" ]
[ align="bottom|top|middle|left|right" ]
initiate the download of the
[ height="{displayPixels | '${' Expression '}' |
[ height="{displayPixels | '${' Expression '}' |
plugin software.
<%= expression %>}" ]
%= expression %}" ]
[ width="{displayPixels | '${' Expression '}' |
[ width="{displayPixels | '${' Expression '}' |
<%= expression %>}"]
%= expression %}"]
[ hspace="leftRightPixels" ] [ vspace="topBottomPixels" ]
[ hspace="leftRightPixels" ] [ vspace="topBottomPixels" ]
[ jreversion="JREVersionNumber | 1.2" ]
[ jreversion="JREVersionNumber | 1.2" ]
[ nspluginurl="URLToPlugin" ]
[ nspluginurl="URLToPlugin" ]
[ iepluginurl="URLToPlugin" ]
[ iepluginurl="URLToPlugin" ] >
[ mayscript="true | false">
[ <jsp:params>
[ <jsp:params>
[ <jsp:param name="parameterName"
[ <jsp:param name="parameterName"
value="{parameterValue | '${' Expression '}' |
value="{parameterValue | '${' Expression '}' |
%= expression %}" /> ]+
<%= expression %>}" /> ]+
</jsp:params> ]
</jsp:params> ]
[ <jsp:fallback> text message if plugin download fails
[ <jsp:fallback> text message if plugin download fails
</jsp:fallback> ]
</jsp:fallback> ]
</jsp:plugin>
</jsp:plugin>
Must represent a root element
No equivalent.
<jsp:root
<jsp:root>
X, TX
and defines standard elements
xmlns:jsp="
and namespace attributes of tag
[xmlns:taglibPrefix="URI"]+ ...
libraries. Identifies the JSP
version="2.0">
page as a JSP document to the
other elements
container.
</jsp:root>
This element is optional in JSP
documents written in version
2.0 of JSP syntax. In version 2.0
JSP documents, any element
can be a root element, and any
element can declare
namespaces using xmlns.
<jsp:setProperty>
A
Sets a bean property value or
<jsp:setProperty name="beanInstanceName"
<jsp:setProperty name="beanInstanceName"
values.
{ property="*" |
{ property="*" |
property="propertyName" [ param="parameterName" ] |
property="propertyName" [ param="parameterName" ] |
property="propertyName" value="{string | '${' Expression '}' |
property="propertyName" value="{string |
<%= expression %>}" }
'${' Expression '}' | %= expression %}" }
/>
/>

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 9