您的位置:首页 > 运维架构 > Apache

org.apache.jasper.JasperException: Unable to load class for JSP问题引发的思考

2008-09-26 03:32 603 查看
今天把ssh项目的tomcat从5.0换成了5.5,其他都很正常,但是当我打开一个含有以下代码时

<jsp:param name="keyWord" value=<%=request.getAttribute("keyWord")%> />

发现了以下的错误:

org.apache.jasper.JasperException: Unable to load class for JSP



Attribute value request.getAttribute("keyWord") is quoted with " which must be escaped when used within the value"

后来我把这句话删了就没事了。不知道是什么原因啊?
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐