<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script>
function ti(){
var data = new Date();
da = data.toLocaleString();
document.getElementById("d2").innerHTML = da;
}function me(){
setInterval("ti()", 10);
}
me();
function to(){
location.href="show.jsp";
}
</script>
</head>
<body>
<center>
<h1>index页面</h1>
<input type="button" value="展示列表" onclick="to()">
<h3 id="d2"></h3>
</center>
</body>
</html>
没有伴随着伤痛的教训就没有意义,因为人没有牺牲就不会有收获,然而,当战胜这痛楚时,人就将获得不屈服任何事物的坚强之心,是的,钢铁般的心!
767

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



