> 其他 >
struts2 的action获取aaa值出现警告:Parameter [aaa] is not on the excludeParams list of patterns and will be appended to action!
jsp页面有个 ,action里面的私有变量和set\get方法都写了没有问题.
在action方法中可以得到aaa的取值,但是旧是报了这个警告,这是为什么.测试了一下action不适用该值也是会报.
人气:443 ℃ 时间:2020-06-26 09:04:13
解答
这个是struts2的BUG最新版已经修正了 只在DEBUG模式会有 不会有影响的
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版