新手请教
刚学jsp 做了个简单的例子
an error occurred at line: 11 in the jsp file: /index.jsp
Date cannot be resolved to a type
8: </head>
9: <body>
10: <%
11: Date date = new Date();
12: SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
13: String today = df.format(date);
14: %>
请问这个Date 为什么识别不了