Reputation: 879
I have added a attribute to the request in Filter. we are using JSF tags in jsp page.
I want to get the request attribute in the jsp, since i am using JSF tags scriplets are not working.
any one can help what is the tag to be used to get the request attributes directly in JSP page with JSF tags. I don't not want to set it in managed bean.
filter code: httpReq.setAttribute("xyz", "name");
this value i want to retrive in JSF page. please help sharing your ideas.
-Kiran
Upvotes: 1
Views: 3799
Reputation: 1108632
It's just available in EL scope by the attribute name the usual way as #{xyz}
.
Note that JSF stores request scoped managed beans under the covers also as request attributes!
Upvotes: 3