ITeye博客

Struts 中如何使用重定向

llhdf · 2010-03-08 15:03 · Struts · 企业架构 · Markdown

使用getRequestDispatcher 的方式,对于绝对路径是可以使用的,struts会自动加上context的。注意红色字体部分,如果没有将显示白页。

request.getRequestDispatcher("/syslog/triger_manage.do?method=findTriger").forward(request,response);

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。