web.xml应该如何配置才能使一个action可以可以根据不同的返回值
弹出或者当页打开?
例如:<action name="MainSeartch" class="MainSeartchAction">
//弹出新的页面
<result name="open" type="freeer">page.ftl</result>//当页打开
<result name="location" type="freeer">openpage.ftl</result>
</action>如果用jsp虽然能够实现但是会多出一个多余的页面和冗余的action
弹出或者当页打开?
例如:<action name="MainSeartch" class="MainSeartchAction">
//弹出新的页面
<result name="open" type="freeer">page.ftl</result>//当页打开
<result name="location" type="freeer">openpage.ftl</result>
</action>如果用jsp虽然能够实现但是会多出一个多余的页面和冗余的action
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货