java - struts 1 action class with instance variable -


please find below code in project:

public class myaction extends action  {    reflist reflist = null;     public actionforward execute(...)     {       reflist = (reflist) getservlet().getservletcontext().getattribute("reflist");    } } 

all users read data servlet context , initialize reflist instance variable in execute method. (please check above code) 1 admin user can refresh or write servlet context attribute when insert or update data dimension tables.

now problem when admin user refresh servlet context data, sometime(very rare) users doesn't refreshed data servlet context attribute. can please let me know problem?


Comments

Popular posts from this blog

Linux vanilla kernel on QEMU and networking with eth0 -

rdbms - what exactly the undo information lives in oracle? -

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -