java - Load properties files in session + Struts -


can in struts 1 load , set properties file in session, need not load properties file in action @ every request @ method level. please me this.

properties props = ... // load properties file  request.getsession().setattribute("mypropertiesfile", props); 

but not practice use session store such things, why don't use cache?


Comments

Popular posts from this blog

HTTP/1.0 407 Proxy Authentication Required PHP -

curl - PHP fsockopen help required -

c# - Resource not found error -