You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Traum (JIRA)" <in...@incubator.apache.org> on 2005/03/09 18:57:59 UTC

[jira] Updated: (MYFACES-121) struts-faces incompatibilities with .do servlet mapping

     [ http://issues.apache.org/jira/browse/MYFACES-121?page=history ]

Mike Traum updated MYFACES-121:
-------------------------------

    Attachment: JspViewHandlerImpl.patch

This patch changes the behavior so that, instead of throwing an exception, the first faces servlet mapping will be returned.

> struts-faces incompatibilities with .do servlet mapping
> -------------------------------------------------------
>
>          Key: MYFACES-121
>          URL: http://issues.apache.org/jira/browse/MYFACES-121
>      Project: MyFaces
>         Type: Improvement
>     Versions: Nightly Build
>     Reporter: Mike Traum
>  Attachments: JspViewHandlerImpl.patch
>
> MyFaces is incompatible with struts-faces. There are several threads about this issue:
> - http://www.mail-archive.com/dev@struts.apache.org/msg01610.html
> - http://www.mail-archive.com/myfaces-user@incubator.apache.org/msg00265.html
> The crux of the problem lies in the fact that JspViewHandlerImpl.renderView
> attempts to determine the servlet mapping of the current request. When
> coming through struts-faces, the servletPath will be ".do" (or whatever
> struts 'action' is mapped to), and JspViewHandlerImpl.getServletMapping
> will throw an exception if it does not match the servlet mapping for the
> faces servlet.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira