I am developing an application that will require different application settings for different machines/customers.
Because of this, I want to to externalize certain configuration settings to a XML file outside of web.xml - let's call this myApp.xml. I have a StartupServlet that I can parse this file with. 1. What should I use to parse this file - SAX, DOM, Digester? 2. Should I have a bean that represents all the configuration settings, and put this in the ServletContext as an attirubute, or each individual setting? 3. If I use Digester and a bean (seems good), should I change my XML in the following snippet? <application> <respository> <root>d:/repository</root> <assets>assets</assets> <viewPath>file://d:/repository/assets</viewPath> </respository> <assessment> <!-- This value is a percentage --> <default-passing-score>75</default-passing-score> </assessment> </application> Any help (or URLs) are appreciated! Matt __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>