type Exception report
message
description The server encountered an internal error () that
prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 119 in the jsp file: /index.jspformater cannot be resolved116: <div class="titles">117: 镇ㄥソ锛屼粖澶╂槸118: <% SimpleDateFormat formater = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); %>119: <%! String currentTime = formater.format(new Date());%>120: <% =currentTime %>
把那段文字删了,还是报错了
An error occurred at line: 118 in the jsp file: /index.jsp
。。。118:
那你把。。。也删掉试试,如果是乱码的问题你弄。。。也不行的
使用的java脚本,是从Eclipes中拷贝过来的
其实下面回答的很全面了,要导入 java.text.SimpleDateFormat;import java.util.Date;你把这个JSP页面的第119行的那几个汉字都去掉,还有中的!去掉