这个jsp文件不能调用Java中的包
<%@ page import="java.util.Date" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
Date date = new Date();
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:MM:ss");
String today = df.format(date);
%>
当前时间:<%=today %>
</body>
</html>
代码全是报错