2008/3/28, Ashish Kulkarni <[EMAIL PROTECTED]>: > I can use servletContext.getResource('/WEB-INF/myconfig.xml'); to read > myconfig.xml file which is under WEB-INF from a servlet > If i keep this file at c:/test/myconfig.xml file, can i read it from > a servlet, if so how??
You can read it with a File object, giving the absolute path, but in a web application is very, very....... very very very dangerous! Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]