Tiles2, Struts 1 ile kullanılabilir mi?Tiles2, Struts 1 ile nasıl kullanılır
org.apache.tiles.template.NoSuchAttributeException: Attribute 'body' not found.
Ben struts-config.xml var: Ben eylemleri erişmeye çalıştığınızda
ben Geçiş kılavuzundaki http://tiles.apache.org/migration/index.htmlAma mevcut talimat izlediyseniz
, bu hatayı alıyorum:
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"
maxFileSize="10M" tempDir="/tmp" />
<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
</plug-in>
Ve fayans-defs.xml
<definition name="mainTemplate" template="/common/templates/mainTemplate.jsp" />
<definition name="index" extends="mainTemplate">
<put-attribute name="body" type="string" value="/views/index/index.jsp" />
</definition>
bu ben gerek Fayans 1 için çözüm Fayans 2'yi kullan –