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

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

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -