Explain the categories of JSP tags - Directives, Scripting elements, Actions Directives
The directive tags are used for simple java programming calls like importing packages, specifying the error handling pages or to handle session in a JSP page.
The directive tags are:
page: To provide information about the type of page. include: To include another JSP. taglib: To specify / utilizes the custom tags [ user defined tags ] in the JSP .
Scripting Elements:
A scriplet tag is used to place a valid java code. This code is placed in the jspService() method by the JSP engine.
Actions:
Actions are the core part of a JSP. An action can be printing an expression from the scriplet or even creating and persisting a bean. Scriplets, declarations, expressions, forwarding a page, handling bean properties, creating a bean for the page comprises all the actions that are part of the JSP.
|