当前位置: 代码迷 >> JavaScript >> JSF运用 A literal value was specified for attribute actionListener that is defined
  详细解决方案

JSF运用 A literal value was specified for attribute actionListener that is defined

热度:630   发布时间:2012-11-01 11:11:33.0
JSF应用 A literal value was specified for attribute actionListener that is defined
修改web.xml中的这段代码
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
注意黑体数字,把它改为相应的web编译版本即可(该表达不知道对不)如编译级别是1.6该把相应的4改为5即可
  相关解决方案