struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris <christal...@yahoo.fr>
Subject Re: Application configuration file
Date Tue, 07 Jan 2014 10:00:09 GMT
Hello ,
I have the same request.
Perhaps the response can help you
You can use Interceptor#init()

http://struts.1045723.n5.nabble.com/Struts2-and-JDBC-How-to-read-jdbc-properties-only-once-for-100-or-1000-users-td5714995.html






Le Mardi 7 janvier 2014 10h17, Giuliano Catrambone <giulianoc@catrasoftware.it> a écrit
:
 
Hi all,
     can someone suggest me how to manage an application configuration file
     in a struts application?

     I'm thinking a configuration file like
         <myapp>.properties

     Is there a place in a struts app where I can read the properties 
cfg file just once
     and share it in every java file (actions, ....)?

     Thanks
         giu


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message