Get Request and Session Parameters and Attributes from JSF pages

前端 未结 8 1774
轮回少年
轮回少年 2020-11-29 19:23

I\'m using JSF with facelets and I need to get the request and session parameters inside the JSF page. In JSP pages I got this parameter like that: \"${requestScope.pa

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-29 20:00

    Are you sure you can't get access to request / session scope variables from a JSF page?

    This is what I'm doing in our login page, using Spring Security:

    
        #{SPRING_SECURITY_LAST_EXCEPTION.message}
    
    

提交回复
热议问题