make the request and session scope spring bean available if using JSF as MVC framework
<web-app> <listener> <listener-class> org.springframework.web.context.request.RequestContextListener </listener-class> </listener> </web-app>