I need to setup something more generic on application level for the scenario mentioned:
Any of my actions/Jsp can optionally set One or more particualr request attribute keys (different user ids etc ), on the basis of which I need to check some data specific security (to match the userid with current logged user )in AppGlobalAction(all action extends this action). What I dont like is to get all these request attribute in AppGlobalAction and check everytime although we need this data specific security thing for only few actions. Other thing Is there any better way to achieve this thing. Can we set request attibute in our action as an array or something like that . I dont want to define so many attribute with different names and check them all the time?