我的jsp和bean文件里都没有try{}catch{},为什么我的错误信息会出现'catch'without 'try'?
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
C:\Tomcat 4.1\work\Standalone\localhost\_\test\modify_jsp.java:492: 'catch' without 'try'
} catch (Throwable t) {
^
C:\Tomcat 4.1\work\Standalone\localhost\_\test\modify_jsp.java:31: 'try' without 'catch' or 'finally'
try {
^
C:\Tomcat 4.1\work\Standalone\localhost\_\test\modify_jsp.java:501: '}' expected
}
^
3 errors
这是怎么回事啊?不明白。