jsp语句出错,equals的用法!请指点,谢谢!
if(request.getParameter("RadioGroup1").equals("add"))请高人指点!出错信息不在这语句,但注释后程序正常!我今天在别的机...
if (request.getParameter("RadioGroup1").equals("add"))请高人指点!出错信息不在这语句,但注释后程序正常!
我今天在别的机器上试过了,我的程序没有问题啊!应该是我的tomcat有问题了,我将出错码贴出来了,请大家帮下小弟!
源码:
出错码:
The server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\_\org\apache\jsp\jsp\jspaccess_jsp.java:90: 'catch' without 'try'
} catch (Throwable t) {
^
Generated servlet error:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\_\org\apache\jsp\jsp\jspaccess_jsp.java:31: 'try' without 'catch' or 'finally'
try {
^
Generated servlet error:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\_\org\apache\jsp\jsp\jspaccess_jsp.java:102: '}' expected
^
.....后面由于字数所限贴不出来了 展开
我今天在别的机器上试过了,我的程序没有问题啊!应该是我的tomcat有问题了,我将出错码贴出来了,请大家帮下小弟!
源码:
出错码:
The server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\_\org\apache\jsp\jsp\jspaccess_jsp.java:90: 'catch' without 'try'
} catch (Throwable t) {
^
Generated servlet error:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\_\org\apache\jsp\jsp\jspaccess_jsp.java:31: 'try' without 'catch' or 'finally'
try {
^
Generated servlet error:
C:\jakarta-tomcat-5.0.28\work\Catalina\localhost\_\org\apache\jsp\jsp\jspaccess_jsp.java:102: '}' expected
^
.....后面由于字数所限贴不出来了 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询