struts中怎么提交带参数的URL?急,在线等
sghys 2006-07-09 04:57:29 struts中,页面地址是:http://xxxx/test.do?id=10 当我提交页面后,在action类的execute方法中如何再返回去提交前的页面也就是http://xxxx/test.do?id=10这个页面,用return actionMapping.getInputForward();和return new ActionForward(actionMapping.getInput());都是返回到http://xxxx/test.do 后面的参数没了,怎么样才样返回提交前的URL:http://xxxx/test.do?id=10