I want to set an attribute in an interceptor with the scope of request to access that in JSP. The follwing code I have used, but that attribute is not getting in JSP.
Interceptor code:
In the above code permissionsList is fetching from a Map, which is in application scope.
Should work, but without the rest of the interceptor code it's hard to say. Is it available in an action?
Naga Niranjan
Greenhorn
Joined: Aug 02, 2005
Posts: 25
posted
0
It is not available in Action class. The remaining code in that interceptor is checking the session whether it is active or not.
To overcome this problem, temporarly I have used scriplet in JSP as I cannot find any solution yet.