开发者

Cannot get bean from flowScope

开发者 https://www.devze.com 2022-12-10 14:45 出处:网络
I have a problem with my bean saved in flowScope, it doesn\'t recognize it-i receive null in my service class function, what could be the problem?

I have a problem with my bean saved in flowScope, it doesn't recognize it-i receive null in my service class function, what could be the problem?

And I ask this because with other beans it works. I copy the code for the beans that would work and I saw that in the moment I change the name of the bean-instead of result="flowScope.a"-wich worked fine to result="flowScope.b" it doesn't work anymore(nullPointerException).

Pleas开发者_开发问答e someone knows what could be the problem?I have to finish this project in a couple of days.


Problem solved: I forgot to change the name of the formObjectName(I was using formAction pattern)

0

精彩评论

暂无评论...
验证码 换一张
取 消