NPE when invoking getter of managed property

后端 未结 1 1277
误落风尘
误落风尘 2021-01-14 08:23

I am learning Spring with Hibernate and am creating a movie rental application using JSF as front end framework.

I have an application scoped managed property in my

相关标签:
1条回答
  • 2021-01-14 08:49

    This post helped me to make the code work : http://www.javacodegeeks.com/2012/04/jsf-2-primefaces-3-spring-3-hibernate-4.html

    However, the code does not work if I keep the Registration Bean as view scoped. Can anyone please help me figure out the reason for the same?

    UPDATE: Found the solution for the ViewScope issue : http://blog.harezmi.com.tr/spring-view-scope-for-jsf-2-users/

    0 讨论(0)
提交回复
热议问题