各位大虾,一个关于<jsp:include>标签的使用问题,劳烦指教指教
时间:2011-08-17
来源:互联网
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: 14 in the jsp file: /jsp_include.jsp
Invalid character constant
11: this examples show include works
12: <br>
13: <!-- 动态包含文件并传递参数 -->
14: <jsp:include page="action.jsp" flush="true">
15: <jsp:param name="a1" value="<%=request.getParameter('name')%>" />
16: <jsp:param name="a2" value="<%=request.getParameter('password')%>" />
17: </jsp:include>
如上,tomcat报错,说14行有无效字符,但是在14行的include标签里没发现什么错误,有哪位高人知道是什么情况吗?
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: 14 in the jsp file: /jsp_include.jsp
Invalid character constant
11: this examples show include works
12: <br>
13: <!-- 动态包含文件并传递参数 -->
14: <jsp:include page="action.jsp" flush="true">
15: <jsp:param name="a1" value="<%=request.getParameter('name')%>" />
16: <jsp:param name="a2" value="<%=request.getParameter('password')%>" />
17: </jsp:include>
如上,tomcat报错,说14行有无效字符,但是在14行的include标签里没发现什么错误,有哪位高人知道是什么情况吗?
作者: onthstsu07 发布时间: 2011-08-17
貌似就是说的你action.jsp这就是无效字符,把你那个action还是去换个名字吧。别用一些关键字段
作者: LMAOhuaNL 发布时间: 2011-08-17
action.jsp 是不是写错了 或者路径不对?
作者: javaxiaochouyu 发布时间: 2011-08-17
去掉flush="true"
作者: is_zhoufeng 发布时间: 2011-08-17
路径路径路径
作者: coder000 发布时间: 2011-08-17
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28