struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bartek <bar...@consol.pl>
Subject load application configuration
Date Tue, 03 Apr 2007 08:26:28 GMT

Hi

What is the best way for loading additional application (properties files,
xml files) in struts2. Till now, in our struts1 application, such config was
loaded using dedicated plugin class. Since all these config files are in
WEB-INF directory
we were using ServletContext.getRealPath("/WEB-INF") to easy reach them. How
this could be elegantly achieved in struts2 application??

appreciate any hints
bartek
-- 
View this message in context: http://www.nabble.com/load-application-configuration-tf3510437.html#a9805584
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message