jjsp(59,55) Attribute qualified names must be unique within an element

编程入门 行业动态 更新时间:2024-10-09 21:29:09

jjsp(59,55) <a href=https://www.elefans.com/category/jswz/34/1769517.html style=Attribute qualified names must be unique within an element"/>

jjsp(59,55) Attribute qualified names must be unique within an element

从tomcat 6 升到 tomcat-7.0.12

jsp页面报:

org.apache.jasper.JasperException: /XXX/XXX.jsp(59,55) Attribute qualified names must be unique within an element

    org.apache.jasperpiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)org.apache.jasperpiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)org.apache.jasperpiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)....

 

原因:页面一个struts标签中定义了两个id属性的(工具没提示).

tomcat6正常,解析后取第二个id的值

 

如果非struts标签,页面解析后只取第一个属性

 

 

jsp(97,87) The JSP specification requires that an attribute name is preceded by whitespace

 

原因: struts标签 属性 之间要有空格

更多推荐

jjsp(59,55) Attribute qualified names must be unique within an element

本文发布于:2024-02-16 22:51:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1691727.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Attribute   jjsp   unique   element   qualified

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!