求救,关于struts tiles标签

来源:百度知道 编辑:UC知道 时间:2024/06/24 18:37:16
当我将action设为 <action path="/modifyDBConn" type="org.apache.struts.actions.ForwardAction"
parameter="modifyDBConn"></action> 能够将页面显示在正确的位置,但是这提交的话不能处理业务,而我将action 设为<action
attribute="modifyDBConnForm"
name="modifyDBConnForm"
path="/changeDBType"
scope="request"
parameter="methodmodify"
type="com.mycar.struts.action.ChangeDBTypeAction" >
<forward name="modifydbs" path="/modifyDBConn.jsp"></forward>
</action>
是能够处理业务,但显示出的是一个单独的页面,而不是出现在主页的content位置。怎么做到提交页面时既能处理业务,又能将响应的页面显示在指定的位置能。
初学tiles 问题可能有些弱智...

<P TEXT-ALIGN: center" align=center><SPAN style="FONT-SIZE: 16pt; FONT-FAMILY: 黑体">Tiles简介<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN>

<P ><SPAN><o:p> </o:p></SPAN>

<p style=line-height: 150%><SPAN style=" mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman">我发现在看到的这些关于</SPAN><SPAN>Tiles</SPAN><SPAN style=" mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman">的文档中,</SPAN><SPAN>Struts</SPAN><SPAN style=" mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman">文档中关于这方面的介绍对于初学者来说是最好的(个人认为),所以就把它译了过来,对于想了解这方面东西又不想看</SPAN><SPAN>E</SPAN><SPAN style=" mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman">文