reading XML file in servlet
843834Aug 19 2004 — edited Aug 19 2004hey guys,
i need a couple of ideas < or one workable one > on how to read an XML application configuration file within a servlet.
It is a application configuration file therefore i personally feel that i should be able to somehow keep it in my WEB-INF directory.
About the only things i have been able to come up with are....
Could put a external file systems filename in web.xml and then read the context parm.
or
Could put a external file systems filename as a property of the JVM and then read it as a System.getProperty("XMLFileName")
or
???
Please fill in the ?? with the preferred approach.
Thanks in advance for your wisdom..
jim