3 Replies Latest reply on Sep 12, 2007 9:12 AM by Oleg Varaksin

    Why

    Oleg Varaksin Newbie

      Hello,

      I develop currently an JSF application. My web.xml has an entry

      <context-param>
      <param-name>javax.faces.CONFIG_FILES</param-name>
      <param-value>
      /WEB-INF/faces-config.xml
      </param-value>
      </context-param>

      I get an error in the Red Hat Developer Studio:
      ================================================
      error: Attribute param-value references to /WEB-INF/faces-config.xml that is not a valid faces config file
      ================================================

      But what is wrong ? The file faces-config.xml is valid and begins with

      <?xml version="1.0"?>
      <!DOCTYPE faces-config SYSTEM "web-facesconfig_1_1.dtd">
      <faces-config>

      The DTD-Definition web-facesconfig_1_1.dtd is located in the same folder (under WEB-INF).

      Thanks in advance
      Oleg.