9. JSP action tags


JSP Implicit Objects :Previous                                                                        Next: Exception Handling

JSP action tags

JSP specification provides the action tags to control the behaviour of the servlet engine, to control page flow, to dynamically insert a file, to reuse JavaBeans components etc. jsp: is used as prefix.
Syntax: 

Commonly used JSP action tags are as follows:

  1. 1. jsp:forward
  2. 2. jsp:include
  3. 3. jsp:param
  4. 4. jsp:useBean
  5. 5. jsp:setProperty
  6. 6. jsp:getProperty

Common attributes of all action tags:

1. id attribute: This attribute is used to uniquely identifying the action element inside the jsp page.
2. scope attribute: This attribute is used identifying the lifecycle of the action element.






JSP Implicit Objects :Previous                                                                        Next: Exception Handling