I want to access the role session attribute (which i have set during authentication) from a jsp page and check whteher its value is equal to “admin” or “user”. How do i do this using the logic tag.
I want to access the role session attribute (which i have set during authentication)
Share
Assuming your session attribute is called “role”:
You can omit the scope attribute if you like as without it the tag will look in any scope (page, request, session)