标签:
一、JSP的快速入门
<body>
<%@ include file="/include/1.jsp" %>
这是内容部分
<%@ include file="/include/3.jsp" %>
</body>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>//
引入java标准标签库
<%pageContext.setAttribute("name", "zhangsan", pageContext.APPLICATION_SCOPE); %>
<%=pageContext.getAttribute("name", pageContext.APPLICATION_SCOPE)%>
pageContext.getRequest()
pageContext.getSession()
<jsp:forward page="/Test1.jsp">
<jsp:param value="mye_mail@126.com" name="e-mail"/>
</jsp:forward>
<%=request.getParameter("e-mail") %>
标签:
原文地址:http://www.cnblogs.com/didixyy/p/d07c70beeba7d90b6f1b9269a16637e5.html