Open quote is expected for attribute "class" associated with an elemen的解决方案
来源:互联网 发布:加强我国网络文化建设 编辑:程序博客网 时间:2024/04/28 07:55
1,错误的写法:
<action name="gotomanage" class = com.lbf.struts.GotoManage> <result name = "success">/WEB-INF/jsp/manage.jsp</result></action>
正确的写法:
<action name="gotomanage" class = "com.lbf.struts.GotoManage"> <result name = "success">/WEB-INF/jsp/manage.jsp</result></action>
总结 注意name class method 后面都加上”“双引号
2,查看name class method 后面的”“双引号是不是非英文字符。
总结:出现这个问题,一般都是action属性双引号的问题,仔细排查即可。
参考资料:http://blog.sina.com.cn/s/blog_7566b09d0101beb7.html
1 0
- Open quote is expected for attribute "class" associated with an elemen的解决方案
- Open quote is expected for attribute "{1}" associated with an element type "name".
- Open quote is expected for attribute "property" associated with an element type "result".
- jetty报错: Open quote is expected for attribute "{1}" associated with an element type "BORDER".
- Open quote is expected for attribute "property" associated with an element type "result".
- Open quote is expected for attribute "namespace" associated with an element type "mapper".
- Open quote is expected for attribute "name" associated with an element type "item".
- 遇到问题:Open quote is expected for attribute "{1}" associated with an element type "property".
- Open quote is expected for attribute "{1}" associated with an element type "type".
- Ant报错Open quote is expected for attribute "*A" associated with an element type "*B"
- Open quote is expected for attribute "{1}" associated with an element type "property".
- Error on line 24 of document : Open quote is expected for attribute "{1}" associated with an eleme
- Error on line 24 of document : Open quote is expected for attribute "{1}" associated with an eleme
- 【spring】——错误提示:Open quote is expected for attribute "{1}" associated with an element type "id".
- 在mybatis报错Open quote is expected for attribute "property" associated with an element type "result".
- JavaEE_SSM_报错_Open quote is expected for attribute "property" associated with an element
- spring配置问题:org.xml.sax.SAXParseException: Open quote is expected for attribute "{1}" associated with
- Open quote is expected for attribute(问题解决)
- 静态和实例
- unity中关于图形学的基础知识(一)
- halo world ))) uva 10934 droping water
- MySQL批量SQL插入性能优化
- 目标检测的图像特征提取之(二)LBP特征
- Open quote is expected for attribute "class" associated with an elemen的解决方案
- item 23: 理解std::move和std::forward
- dfs(顺便求一下每个节点的儿子节点喽)
- android 学习笔记之20160307自定义对话框
- 【转载】Java开发环境的搭建以及使用eclipse创建java项目
- 蓝桥杯:数的读法
- 操作系统相关资料之三
- 平时的小问题(一直更新渴求交流)
- Item 24: 区分右值引用和universal引用