Standard Actions
Predefined action tags include:
- jsp:useBean - declares the usage of an instance of a JavaBeans component. If it does not already exist, then the instance is created and registered in the servlet environment.
- jsp:setProperty - this tag can be used to set all the properties of a Bean from the request parameter stream with parameters of the same name, or can be used to set individual properties.
- jsp:getProperty - gets the property of the Bean, converts it to a String, and puts it into the implicit object “out”.
- jsp:forward - forwards the request to another jsp page or servlet.
- jsp:include - include another JSP page
- jsp:plugin - load into the specified plug-in of the browser
All have a pure XML syntax, e.g.:
<jsp:useBean id=“clock” class=“calendar.jspCalendar” />