Howdy, >The way I'd do this is to use Properties objects, and a few (perhaps >even one?) files under WEB-INF/props > >On startup, on the setup page, you'd ask the user to supply the filepath >to use. >Then you'd write that info to WEB-INF/props/application.properties. > >On subsequent restarts, your app looks to this file to "remember" where >its stuff is, and can load the values into an appropriate area (like >ServletContext)
This is not a portable approach as the servlet container is not required to allow you to write under WEB-INF (or anywhere for that matter). Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
