struts-user mailing list archives

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


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
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message