Hello,
I have a question about the WAR directory structure. Namely, where
is the appropriate place to put configuration files, log files, and
other files that need to be read/written-to by my application? Clearly
putting them in the webroot isn't right. Can my application access
arbitrary files under WEB-INF? How? I know that conf files can be put
in the classpath (e.g. WEB-INF/classes), but this seems like the wrong
solution for files that will change after deployment.
In the past, I've used the technique of creating my own application
root, which contained a webroot/ directory in the WAR format, and
pointed the servlet container at that. I used servlet parameters in the
web.xml file to specify the location of the application root to my
servlets, so that they could access my conf/log files. This works fine,
but forces me to 'embrace and extend' the orginal WAR concept.
Any suggestions?
Thanks,
Jim Carlson
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: WAR format question Jim Carlson
- Re: WAR format question Jacob Kjome
- Re: WAR format question Erik Price
- Re[2]: WAR format question Jacob Kjome
- Re: WAR format question Erik Price
- Re: can I define a subcontext within... Jan-Michael Ong
- Re: WAR format question Jim Carlson
- Re[2]: WAR format question Jacob Kjome
- Re: WAR format question Will Hartung
- Re: WAR format question Bill Barker
- RE: WAR format question Tim Moore
