JSP是jEE的一部分 Servlet的另一种表现形式 很基础!很重要!复习之
使用隐含对象
<%= request.getContextPath() %><br />
<%= session.getId() %><br />
<% session.setAttribute("a1", "one"); %>
<%= "value of attribute 1 is <" + session.getAttribute("a1") + ">" %><br />
声明静态变量
<%! static int i = 0; %>
<%= i++ %>
。。。to be continue