JSP Action Element


Prev Tutorial Next Tutorial

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>

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements