Where do I place my *_*_*.properties files in a J2EE app
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Joost_Schouten
Posted On:   Tuesday, June 14, 2005 04:17 AM

Hi,


Can anyone explain me the best way where to place the *_*_*.properties files within my J2EE application. As my ant script doesnÂ’t include them in my generated jars I need to separately (still with ant though) copy them. What are the conventions for this placement and possible naming?


Thank you,

Joost

Re: Where do I place my *_*_*.properties files in a J2EE app

Posted By:   Jani_Kaarela  
Posted On:   Tuesday, June 14, 2005 08:51 AM

In the classpath. In a J2EE application this isn't as straightforward as in "normal" applications, though. There are several, hierarchial, classloaders. Read the J2EE spec to get an understanding of it, and only then decide where to put stuff. As a rule of thumb, most stuff goes in the WAR file, in "WEB-INF/classes" (IIRC) directory.
About | Sitemap | Contact