You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paweł Mączka (Commented JIRA)" <de...@myfaces.apache.org> on 2012/01/30 07:55:10 UTC
[jira] [Commented] (TRINIDAD-86) 404 error using dialog with
servlet-mapping url-pattern *.jsf
[ https://issues.apache.org/jira/browse/TRINIDAD-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195963#comment-13195963 ]
Paweł Mączka commented on TRINIDAD-86:
--------------------------------------
It is very easy to reproduce: use inputDate in xhtml page with following url:
http://localhost:8080/app/page.jsf <-- attempt to open calendar dialog raises NullPointerException
http://localhost:8080/app/faces/page.jsf <-- works fine
web.xml
<!-- Faces Servlet Mappings -->
<servlet-mapping>
<servlet-name>faces</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
Please reopen then.
> 404 error using dialog with servlet-mapping url-pattern *.jsf
> -------------------------------------------------------------
>
> Key: TRINIDAD-86
> URL: https://issues.apache.org/jira/browse/TRINIDAD-86
> Project: MyFaces Trinidad
> Issue Type: Bug
> Environment: JBoss 4.0.5.GA
> Reporter: Will Hoover
>
> Using the following servlet-mapping url-pattern in deployment descriptor causes a 404 error when using dialog:
> <servlet-mapping>
> <servlet-name>faces</servlet-name>
> <url-pattern>*.jsf</url-pattern>
> </servlet-mapping>
> ...but using the following servlet-mapping url-pattern works:
> <servlet-mapping>
> <servlet-name>faces</servlet-name>
> <url-pattern>/faces/*</url-pattern>
> </servlet-mapping>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira