问题如下:
我现在的模板是:
<tiles:insert page="screen-layout.jsp" flush="true">
<tiles:put name="header" value="1.jsp"/>
<tiles:put name="topbar" value="2.jsp"/>
<tiles:put name="body" value="main.jsp"/>
</tiles:insert>
然后screen-layout.jsp如下:
<table border="0" cellspacing="0" cellpadding="0" width="990">
<tiles:insert attribute="header" />
<tiles:insert attribute="topbar" />
<tiles:insert attribute="body" />
</table>
1在最页面上边,2在页面左边,main在中间
我现在导航在2上面,2上点一下之后,想让新出来的页面(比如main2.jsp)在body的位置(1和2不变)
(就象frameset那个一样,frame里面<frame src="" name="main">,然后在别的框架中的link中target=main就能把页面加载到main的地方)
我就是想问,在tiles中,这个功能是怎么实现的??
我现在的模板是:
<tiles:insert page="screen-layout.jsp" flush="true">
<tiles:put name="header" value="1.jsp"/>
<tiles:put name="topbar" value="2.jsp"/>
<tiles:put name="body" value="main.jsp"/>
</tiles:insert>
然后screen-layout.jsp如下:
<table border="0" cellspacing="0" cellpadding="0" width="990">
<tiles:insert attribute="header" />
<tiles:insert attribute="topbar" />
<tiles:insert attribute="body" />
</table>
1在最页面上边,2在页面左边,main在中间
我现在导航在2上面,2上点一下之后,想让新出来的页面(比如main2.jsp)在body的位置(1和2不变)
(就象frameset那个一样,frame里面<frame src="" name="main">,然后在别的框架中的link中target=main就能把页面加载到main的地方)
我就是想问,在tiles中,这个功能是怎么实现的??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货