<logic:forward name="mainAction.do?method=bottom"/>
有没有在struts-config.xml中配置呢?
<global-forwards >
<forward name="mainAction" path="/mainAction.do"></forward>
</global-forwards>
有没有在struts-config.xml中配置呢?
<global-forwards >
<forward name="mainAction" path="/mainAction.do"></forward>
</global-forwards>
<jsp:include flush="true" page="mainAction.do?method=bottom" >这样好象不行,我也遇到过。你用bean:include试试。前提是服务器要能通过域名访问自己,我前几天就是服务器不能通过域名访问自己,把所有的bean:include全部改成js包含,用JS写出来。好运
但page="XXaction.do?method=xx" 无法请求了,请问都有哪几个标签可以直接加载请求的?
是把http的request给到你的mainAction.do里边呢,还是你希望在页面里边应用到mainAction.do的值呢?
如果是前者,你用response.forward貌似应该可以实现
如果是后者,你难道希望在一个页面里边用到两个action的返回值吗?
主要是不太理解你的需求,所以,感觉大家也不好回答
我要的是能直接加载action.do的就比如说这样 bean:include id="ii" forward="xxAction.do?method=file" 这样写在表格里面可以加载请求的页面不?