0
我在使用DisplayTag構建表格。我需要在許多頁面中的表之間共享一列,所以我試圖插入<display:column>
內<display:table>
使用<tiles:insertAttribute>
:DisplayTag和Tiles
<display:table ....>
<tiles:insertAttribute name="attivoTh"/>
</display:table>
<definition name="attivoTh" template="/WEB-INF/template/default/th/attivoTh.jsp" />
這是錯誤我得到:
nov 21, 2016 2:08:08 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [ds] in context with path [/Jeans2016] threw
exception [Request processing failed; nested exception
is org.apache.tiles.impl.CannotRenderException: ServletException including
path '/WEB-INF/template/default/template1.jsp'.] with root cause
Exception: [.ColumnTag] Tag "column" should ne nested in "table"
有誰理解爲什麼?