【JSP开源代码栏目提醒】:网学会员在JSP开源代码频道为大家收集整理了ex001.jsp提供大家参考,希望对大家有所帮助!
<%@ page language="java" contentType="text/html; charset=GB18030"
pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>JSP通用范例大全</title>
</head>
<body>
<%! int count=0;%>
<%
if(count==4)
count=0;
response.setHeader("Refresh","4");
count++;
%>
<img src="<%=count%>.jpg"><br>
<font color="brown" size="5">这是第<%=count%>张图片</font>
</body>
</html>
上一篇:
everyinc.jsp
下一篇:
2016本科PHP论文