[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6810) Launching page via Run As.. doesn't take into account JSF servlet mapping
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Wed Aug 11 06:38:49 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov updated JBIDE-6810:
----------------------------------
Assignee: Viacheslav Kabanovich (was: Alexey Kazakov)
Fix Version/s: 3.2.0.Beta
Workaround Description: Add JSF facet to the project.
Workaround: [Workaround Exists]
Description:
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
was:
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
If we add JSF facet to the project it starts working.
Slava, could we add jsf facet for project generated by our New JSF Project wizard?
> Launching page via Run As.. doesn't take into account JSF servlet mapping
> -------------------------------------------------------------------------
>
> Key: JBIDE-6810
> URL: https://jira.jboss.org/browse/JBIDE-6810
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JSF
> Affects Versions: 3.2.0.M1
> Reporter: Max Katz
> Assignee: Viacheslav Kabanovich
> Fix For: 3.2.0.Beta
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list