java_web/webapp/import_test.jsp

15 lines
478 B
Plaintext
Raw Normal View History

2024-11-26 15:35:29 +08:00
<%@ page import="java.util.Date,java.text.DateFormat" %>
<%@ page contentType="text/html;charset=gb2312" %>
<html>
<head><title>pageָ<65><D6B8>ʾ<EFBFBD><CABE></title></head>
<body>
<h3 align="center">ʹ<><CAB9>pageָ<65><EFBFBD><EEB5BC>java.util.Date<74><65></h3>
<%
Date date = new Date();
String s = DateFormat.getDateInstance().format(date);
String s2 = DateFormat.getDateInstance(DateFormat.FULL).format(date);
%>
<p align="center"><3E><><EFBFBD>ڵ<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ǣ<EFBFBD><%=s%></p>
<p align="center"><3E><><EFBFBD>ڵ<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ǣ<EFBFBD><%=s2%></p>
</body>
</html>