如果系统大部分功能都能使用,但是有的菜单或新增,编辑按钮出现下列错误,问题的原因是jsp中部分代码(双引号嵌套)的写法不支持tomcat6,这是tomcat6的一个bug,修改方法很简单value="<%=user.getKeyId()+""%>" 改为value="<%=user.getKeyId()%>"或改为value='<%=user.getKeyId()+""%>' 就能正常访问,如果这样的错误太多还是更换tomcat要简单一些
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /business/person/expertList.jsp(115,60) Attribute value person.getKeyId()+"" is quoted with " which must be escaped when used within the value org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88) org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:256) org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:205) org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:148) org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1208) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1422) org.apache.jasper.compiler.Parser.parseBody(Parser.java:1634) org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:978) org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1246)