jsp脚本元素:
//jsp声明语句 <%! int a=45;%> //jsp scriptlets,可写任意java代码 <% int b=a+30; out.print(b); %> //jsp表达式,计算结果可显示在页面上 <%=request.getContextPath()%>
jsp指令元素:<%@ %>
//page指令 <%@ page contentType="text/html;charset=UTF-8" language="java" %> //include指令 <%@ include file="record.html" %> //taglib指令 声明页面中需要引用的标签库 <%@ taglib prefix="c" uri="http://xxx.com/jstl/core" %>
jsp动作元素:<jsp:xxx> yyyyyy </jsp:xxx>
jsp内置对象:page ,request, session, application.........