【JSP开源代码栏目提醒】:网学会员为需要JSP开源代码的朋友们搜集整理了ApplicationTest.jsp相关资料,希望对各位网友有所帮助!
<!--ApplicationTest.jsp-->
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<%
Integer i=(Integer)application.getAttribute("counter");
i=new Integer(i.intValue()+1);
application.setAttribute("counter",i);
out.println((Integer)application.getAttribute("counter"));
%>
</BODY>
</HTML>
上一篇:
applicationData.jsp
下一篇:
月入5000,你有什么资格谈生活