这是jsp页面。
实际上这个宽度:100%' element正在将其转换为ASCII码('width:100%;'
),因此将其视为属性可以为任何人提供任何解决方案吗?
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<f:subview id="header">
<h:panelGrid style="width:100%;" border="0" cellpadding="0"
cellspacing="0">
<f:verbatim>
<table class="heading" cellpadding="0" cellspacing="0" border="0"
width="100%">
<tr>
<td width="41">
<img src="images/logo01.gif" border="0" />
</td>
<td nowrap="nowrap" style="padding:7px 0px 0px 0px;">
Administration
</td>
</tr>
</table>
</f:verbatim>
</h:panelGrid>
</f:subview>
下面是错误堆栈跟踪。
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691)
Caused by: com.ibm.ws.jsp.JspCoreException: Unable to convert string **'width:100%;' to class javax.el.ValueExpression** for attribute style: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:939)
at com.ibm._jsp._header_5F_admin._jspx_meth_h_panelGrid_0(_header_5F_admin.java:155)
at com.ibm._jsp._header_5F_admin._jspx_meth_f_subview_0(_header_5F_admin.java:213)
at com.ibm._jsp._header_5F_admin._jspService(_header_5F_admin.java:90)
... 78 more
[3/23/17 2:20:41:202 CDT] 00000043 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause faces: com.ibm.websphere.servlet.error.ServletErrorReport: com.ibm.ws.jsp.JspCoreException: Unable to convert string **(`'width:100%;'`) to class javax.el.ValueExpression** for attribute style: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
at com.ibm._jsp._header_5F_admin._jspService(_header_5F_admin.java:98)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
我正在使用Myfaces 1.1.1。请告诉我这将是什么问题。