| 发表于:2007-10-11 13:17:02 楼主 |
string path = mapping.findforward("user.login").getpath(); path = path + "?r="+type+"&userid="+userid; 这句还有值/web/show.jsp?id="+变量 actionforward forward= new actionforward(path); forward.setredirect(true); return forward; 到最后一句就为空了 我跳回去的页面需要重写url 我在网上看到这样可以,我就按照网上写的做了,但是结果有异常 有好几个为null 或者还有什么办法能在action中实现带参数跳转 forwardconfig[name=null,path=null,redirect=true,contextrelative=false,module=null] |
|
|
|
|