Oracle JSP Markup Language Syntax |
![]() |
Tag | Description | Syntax |
Tag Library Name |
||
<%@ taglib > | Used to declare the JML tagset for use within this page or application. | <%@ taglib uri="oracle.jsp.parse.OpenJspRegisterLib" prefix="jml" %> |
Bean Binding Tags |
||
<jml:useBean> | Declares and instantiates (if necessary) a Bean with a specific name and scope. | <jml:useBean id = "beanInstanceName" scope = "page | request | session
| application" |
<jml:useVariable> | Declares and instantiates (if necessary) a Bean with the specific JML data type at scope. | <jml:useVariable id = "beanInstanceName" scope = "page | request
| session | application" |
<jml:useForm> | Declares a JML data bean whose value is set from an incoming form/request parameter. | <jml:useForm id = "beanInstanceName" scope = "page | request | session
| application" |
<jml:useCookie> | Declares a JML data bean whose value is set from an incoming cookie value. | <jml:useCookie id = "beanInstanceName" scope = "page | request |
session | application" |
<jml:remove> | Removes an object from scope. | <jml:remove id = "beanInstanceName" [ scope = "page | request | session | application" ] /> |
Bean Manipulation Tags |
||
<jml:print> | Outputs (prints) the value of the expression in the JSP page. | <jml:print eval = "{jmlExpression | <%= jmlExpression %> | $ jmlExpression}" /> |
<jml:getProperty> | Gets the value of a bean property so you can | <jml:getProperty name = "beanInstanceName" property = "propertyName" /> |
<jml:setProperty> | Sets a Bean's property value(s). | <jml:setProperty name = "beanInstanceName" |
<jml:set> | Sets a Bean's property value(s). | <jml:set name = "beanInstanceName.propertyName" |
<jml:call> | Calls a Bean's void method. | <jml:call method = "beanInstanceName.methodName(parameters)" /> |
<jml:lock> | Locks a bean. The code within this tag has synchronous access to the bean. | <jml:lock name = "beanInstanceName" /> |
For More information about Oracle's JSP technology please visit: |
|