如何把一个标注了@requestmapping注解的方法(func1)的参数传递给另一个标记了@requestmapping注解的方法(func2)?
我试着把func1参数加入到model中,然后用@modelattribute加在func2的参数上。但好像是传不过来。看来这个model是request范围内的?这样理解有问题吗?
如果是这样的话,大概还需要用@sessionattribute,这两个注解配合起来我还不太会用,百度了一下试着也接不到值。现在手机打字没法贴代码,请各位讲解一下。
谢谢
send Rediect
RedirectAttributes