strurs2.1.6的零配置问题
技术科 2009-08-15 07:02:17 我做了一个表单提交后的跳转,login.action,处理的action使用零配置实现
@Result(name = "success", location = "/z.html", type = "dispatcher")
配置代码如上,页面正常跳转到了z.html页面,但问题是地址栏里还是login.action
我想要的是地址栏里显示z.html而不是login.action
我的运行环境是struts2.1.6,请问红色部分该如何写才能实现?
struts2.0中type=org.apache.struts2.dispatcher.ServletRedirectResult可以实现
但2.1.6中已经完全改变