jsp脚本标记
if(session.getValue("name")==null)
session.putValue("name","123456");
else
session.putValue("name",session.getValue("name")+"1");%>
<%@ page isErrorPage="true" %>
<%@ page errorPage="errorPage.jsp" %>
指定了MIME的类型和JSP文件的字符编码方式,它们都是最先传送给客户端。MIME类型有:text/plain、text/html(缺省类型)、text/html、image/gif、image/jpeg、image/jpeg
缺省的字符编码方式:ISO8859-1
<%@ include file="include.inc" %>
如:
native.jsp:
<body>native file start here.<br>
<%@ include file="include.inc" %>
native file end here.<br>
</body>
include.inc:include file start here.<br>
<%! String str="Here is include
1601



被折叠的 条评论
为什么被折叠?



