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]

Reply via email to