j2ee spec and accessing resource (properties) files

D

D. Alvarado

Hello,
Is it a violation of the J2EE standard to access a resource file
from within a .war in which the resource file lies outside the .war?
If this is not a violation, how could this be done (e.g. could
ClassLoader.getResourceAsStream be of help?).

Some in my group would rather have a single .war file with an
adjustable .properties file outside rather than recompile the .war
with a different properties file.

Thanks for any advice, - Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top