Topic: 有谁会用struts中的tiles啊?请进来看看 |
Print this page |
1.有谁会用struts中的tiles啊?请进来看看 | Copy to clipboard |
Posted by: death0320 Posted on: 2004-11-03 16:39 我有一个jsp页面是这样的 <%@ page contentType="text/html; charset=gb2312" language="java"%> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> <tiles:insert page="/inc/layout.jsp" flush="true"> <tiles:put name="menu" value="/inc/menu.jsp"/> <tiles:put name="body" value="albumAction.do?method=insertInit"/> <tiles:put name="footer" value="/inc/footer.jsp"/> </tiles:insert> 可是执行会报错,我想应该是因为<tiles:put name="body" value="albumAction.do?method=insertInit"/>这一条,怎么才能加入.do呢?有什么办法呢,因为我在进入页面要初始化页面,所以要先执行.do 请高手帮忙,非常感谢 |
2.Re:有谁会用struts中的tiles啊?请进来看看 [Re: death0320] | Copy to clipboard |
Posted by: Artkai Posted on: 2004-11-03 19:26 用ActionMapping代替.do |
3.Re:有谁会用struts中的tiles啊?请进来看看 [Re: death0320] | Copy to clipboard |
Posted by: death0320 Posted on: 2004-11-03 21:56 具体做法,请写一下,谢谢 |
4.Re:有谁会用struts中的tiles啊?请进来看看 [Re: death0320] | Copy to clipboard |
Posted by: erongd Posted on: 2004-11-04 02:57 你可以写一个TileController. |
5.Re:有谁会用struts中的tiles啊?请进来看看 [Re: death0320] | Copy to clipboard |
Posted by: death0320 Posted on: 2004-11-04 14:39 楼上各位啊?你们只讲一句,关键是具体怎么做啊?谢谢你们啦,告诉我具体怎么做吧 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |