1 Reply Latest reply on Nov 19, 2002 9:19 AM by roberto roberto

    How to read an xml file in WEB-INF ?

    tsd Newbie

      Hi,
      In my servlet init method, I tried to open a file with that method :
      getServletContext().getResource("/WEB-INF/UrlMappings.xml"). It doesn't work since the jndi protocol doesn't exist in JBOSS.
      How can I read a file (such as an xml file) in the WEB-INF folder ?

      Thanks a lot, I am stuck where I wasn't meant to !

      Tsd