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