<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ page import="java.util.Date"%>
<!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=utf-8">
<meta http-equiv="refresh" content="1">
<title>mypage</title>
</head>
<body>
<%response.getWriter().write(new Date().toString()); %>
</body>
</html>
jsp测试-显示时钟
最新推荐文章于 2022-11-03 21:54:48 发布