JSP Processing
http://www.tutorialspoint.com/images/jsp-processing.jpg
JSP Life Cycle
http://www.tutorialspoint.com/images/jsp_life_cycle.jpg
Scriptlet Syntax
<% code fragment %>
or
<jsp:scriptlet>
code fragment
</jsp:scriptlet>
Variable Declaration
<%! int i = 0; %>
<%! int a, b, c; %>
<%! Circle a = new Circle(2.0); %>
JSP Expresstion
<%= expression %>
JSP Comments
<%-- This is JSP comment --%>
JSP Action
<jsp:action_name attribute="value" />
JSP Directive
<%@ page ... %>
<%@ include ... %>
<%@ taglib ... %>
<%@ include file="relative url" %>
<jsp:directive.include file="relative url" />
The <jsp:setProperty> Action
The <jsp:getProperty> Action
The <jsp:forward> Action
The <jsp:plugin> Action
The plugin action is used to insert Java components into a JSP page
The Java component can be either an Applet or a JavaBean.
The <jsp:element> Action
The <jsp:attribute> Action
The <jsp:body> Action
The <jsp:text> Action
http://www.tutorialspoint.com/images/jsp-processing.jpg
JSP Life Cycle
http://www.tutorialspoint.com/images/jsp_life_cycle.jpg
Scriptlet Syntax
<% code fragment %>
or
<jsp:scriptlet>
code fragment
</jsp:scriptlet>
Variable Declaration
<%! int i = 0; %>
<%! int a, b, c; %>
<%! Circle a = new Circle(2.0); %>
JSP Expresstion
<%= expression %>
JSP Comments
<%-- This is JSP comment --%>
JSP Action
<jsp:action_name attribute="value" />
JSP Directive
<%@ page ... %>
<%@ include ... %>
<%@ taglib ... %>
<%@ include file="relative url" %>
<jsp:directive.include file="relative url" />
The <jsp:getProperty> Action
The <jsp:forward> Action
The <jsp:plugin> Action
The plugin action is used to insert Java components into a JSP page
The Java component can be either an Applet or a JavaBean.
The <jsp:element> Action
The <jsp:attribute> Action
The <jsp:body> Action
The <jsp:text> Action
No comments:
Post a Comment