Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10177

web.xml validator should be aware of JSF mappings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta3
    • 3.3.0.M4
    • jsf
    • None

      1. Create JSF2 KickStart project.
      2. Create 404.xhtml page in WebContent folder
      3. Add the following code to the end of web.xml file:

         <error-page>
          <error-code>404</error-code>
          <location>/404.jsf</location>
        </error-page>
      

      There should not be any error/warning markers on /404.jsf. This location should be mapped to the 404.xhtml file.
      But right now I get: "error: Attribute location references to /404.jsp that does not exist in web content" error message.

            vpakan Vlado Pakan (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: