您的位置:首页 > 产品设计 > UI/UE

Attribute value request.getParameter("param") 问题

2013-04-26 12:59 477 查看
Attribute value request.getParameter("param") is quoted with " which must be escaped when used within the value

<input  type="text"  name="test"  value="<%=request.getParameter("param")%>" />

这样写会提示Attribute value request.getParameter("param") is quoted with " which must be escaped when used within the value错误

改成<input  type="text"  name="test"  value="<%=request.getParameter(\"param\")%>" />

应该是引号的问题,将参数的引号转义就可以了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐