JSP Action Element
Advertisements
JSP Action Element
Action elements are used to performs specific operation using JSP container, like setting values into java class, getting values from java class. The JSP action elements classified into two types are;
- JSP Standard Action Element
- JSP Custom Action Element
Standard Action Element
Standard Action are given in JSP to separate the presentation logic and the business logic of the JSP but partial.
The name is given as a standard Action, because each action as a pre-defined meaning and as a programmer it is not possible to change the meaning of the tag.
Each Standard Action follows xml syntax, we do not have any equivalent html syntax.
The standard action element followed by "JSP" prifix.
Syntax of Standard Action Element
<jsp: standard action name>
Standard Action are given by JSP are;
- <jsp: include>
- <jsp: forward>
- <jsp: param>
- <jsp: params>
- <jsp: plugin>
- <jsp: useBean>
- <jsp: setProperty>
- <jsp: getProperty>
- <jsp: fallback>
Google Advertisment