JSP Action Tag

Action tag is used to transfer the control between pages and is also used to enable the use of server side JavaBeans. Instead of using Java code, the programmer uses special JSP action tags to either link to a Java Bean set its properties, or get its properties.

General syntax of Action Tag: 

<jsp:action attributes/>

There are many action tags that are available for Java Server Pages. The most commonly used action tags are three of them and they are namely:

  • include
  • forward
  • useBean

Leave a Reply

Your email address will not be published. Required fields are marked *