JSF2 : inject service objects to managedbean from Spring?

前端 未结 2 969
余生分开走
余生分开走 2021-01-05 07:46

I have tested this, trying to inject an service object to a @ManagedBean, but it failed with a nullpointerexception, being the userService is null.

I am currently us

2条回答
  •  清歌不尽
    2021-01-05 08:38

    In your applications context xml define a bean for "UserService" for example,

    
    

提交回复
热议问题