You are on page 1of 2

<jsp:useBean> Declares a Java Bean instance and associates it with

a variable name.
Syntax is
<jsp:useBean
id="name"
[ type="type" ]
[ class="class" ]
[ beanName="beanName" ]
[scope="page|request|session|application"]>
...</jsp:useBean>
<jsp:setProperty> Sets the values of one or more properties of a bean
previously declared with <jsp:useBean>.
Syntax is
<jsp:setProperty
name="id"
prop-expression/>
where prop-expression is one of the following:
property="*"
property="propName"
property="propName" param="parameterName"
property="propName" value="value"
property="propName" value=<%= expression %>
<jsp:getProperty> Returns the value of the specified property of a bean.
Syntax is
<jsp:getProperty name="id" property="name" />
<jsp:include> Invokes another resource and merges its output
stream with the JSP page output stream.
Syntax is
<jsp:include page="URL" flush="true" />
or, if parameters need to be passed:
<jsp:include page="URL" flush="true">
<jsp:param />
<jsp:param />
...
<jsp:param ... />
</jsp:include>
<jsp:forward> Forwards this HTTP request to another JSP page or
servlet for processing.
Syntax is
<jsp:forward page="URL" />
or, if parameters need to be passed:
<jsp:forward page="URL">
<jsp:param ... />
<jsp:param ... />
...
<jsp:param ... />
</jsp:forward>
<jsp:param> Binds a value to a name and passes the binding to
another resource invoked with <jsp:include> or
<jsp:forward>.
Syntax is
<jsp:param name="name" value="value" />
<jsp:plugin> Used to generate the appropriate HTML linkage for
downloading the Java plugin:
<jsp:plugin
type="bean|applet"
code="objectCode"
codebase="objectCodebase"
{ align="alignment" }
{ archive="archiveList" }
{ height="height" }
{ hspace="hspace" }
{ jreversion="jreversion" }
{ name="componentName" }
{ vspace="vspace" }
{ width="width"}
{ nspluginurl="url" }
{ iepluginurl="url" } >
{ <jsp:params>
{ <jsp:param name="name" value="value" />}
</jsp:params> }}
</jsp:plugin>

You might also like