Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/370.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Apache Tiles 3呈现Struts 2操作_Java_Struts2_Tiles_Tiles 3 - Fatal编程技术网

Java Apache Tiles 3呈现Struts 2操作

Java Apache Tiles 3呈现Struts 2操作,java,struts2,tiles,tiles-3,Java,Struts2,Tiles,Tiles 3,在Tiles 3中是否可以呈现操作执行的结果? 如下所示: <definition name="body" template="/WEB-INF/layout.jsp" preparer="com.my.MyPreparer"> <put-list-attribute name="list0"> <add-attribute value="/portlet/Login.do"/> <add-attribute va

在Tiles 3中是否可以呈现操作执行的结果? 如下所示:

<definition name="body" template="/WEB-INF/layout.jsp" preparer="com.my.MyPreparer">
    <put-list-attribute name="list0">
        <add-attribute value="/portlet/Login.do"/>
        <add-attribute value="/portlet/Logout.do"/>
        <add-attribute value="/portlet/Home.do"/>
    </put-list-attribute>
</definition>


我很困惑,你在使用struts2-tiles3-plugin吗?因为是,您可以使用平铺渲染视图以执行操作。。。通常不需要准备人员,因为操作应该能够完成大部分准备工作……如果您将扩展名更改为
.jsp
,它可以工作。您希望实现什么?看起来像是XY问题。