![]() |
Oracle JSP Markup Language Syntax |
Tag | Description | Syntax |
Flow Control |
||
<jml:if> | A single conditional statement. Conditionally executes the body if the condition evaluates to true. | <jml:if condition = "{ jmlExpression | <%= jmlExpression %> | $ jmlExpression
}" > </jml:if> |
<jml:choose> | A multiple conditional statement. Conditionally executes the body of the first condtion that evaluates to true. | <jml:choose> </jml:choose> |
<jml:for> | Looping control for iterating over a range. | <jml:for id = "loopVariable" </jml:for> |
<jml:foreach> | Looping control for iterating over elements in a data object | <jml:foreach id = "loopVariable" </jml:foreach> |
<jml:return> | Indicates response is complete. Page returns current response without further processing. | <jml:return /> |
<jml:include> | Includes data in the JSP page response. | <jml:include page = "{ relativeURL | <%= jmlExpression %> | $ jmlExpression }" flush = "true" /> |
<jml:forward> | Forwards the request to an HTML file, JSP file, or servlet for processing. | <jml:forward page = "{ relativeURL | <%= jmlExpression %> | $ jmlExpression }" /> |
<jml:flush> | Flushes the buffered response stream. | <jml:flush /> |
Data transformation |
||
<jml:transform> | Transforms the output of the body of this tag using the specified XSL stylesheet. | <jml:transform href = " {URL | relativeURL | <%= jmlExpression %>
| $ jmlExpression}" > </jml:transform> |
<jml:stylesheet> | Synonym for <jml:transform> | <jml:stylesheet href = " {URL | relativeURL | <%= jmlExpression
%> | $ jmlExpression}" > </jml:stylesheet> |
Miscellaneous |
||
<jml:plugin> | Synonym for <jsp:plugin> tag. | See JSP syntax for description |
![]() |
|
For More information about Oracle's JSP technology please visit: |