Take a look at the DigestingPlugin: http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=digestingplugin&b tnG=Google+Search
-- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx > -----Original Message----- > From: Jiri Chaloupka [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 19, 2003 12:23 PM > To: [EMAIL PROTECTED] > Subject: reading the xml file > > > Hallo, > I thinkin how I can read the xml file from /WEB-INF directory. > > I found something as > InputStream is = > servletContext.getResourceAsStream("/WEB-INF/something.xml") > > but how I can get servletContext?. Or, is t good way to read data, as > datasource names, from xml file and store it as instance of > config file in > session? is there any better way? > > Thanks for help, > Jiri > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]