Get Request and Session Parameters and Attributes from JSF pages

前端 未结 8 1762
轮回少年
轮回少年 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:04

    You can like this:

    #{requestScope["paramName"]} ,#{sessionScope["paramName"]}
    

    Because requestScope or sessionScope is a Map object.

提交回复
热议问题