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

Launching page via Run As.. doesn't take into account JSF servlet mapping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.Final
    • 3.2.0.M1
    • jsf, upstream
    • None
    • Workaround Exists
    • Hide

      Add JSF facet to the project.

      Show
      Add JSF facet to the project.

      Servlet mapping in web.xml:
      <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
      </servlet-mapping>

      Create simple JSF page (start.xhtml)
      Right click page and select Run As>Run On Server...
      The following URL opens:
      http://localhost:8080/rf/start.xhtml

      The URL is not correct, it should be:
      http://localhost:8080/rf/start.jsf

      Same problem with /faces/* mapping

            scabanovich Viacheslav Kabanovich (Inactive)
            max.katz Max Katz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: