[ 
http://issues.apache.org/jira/browse/MYFACES-121?page=comments#action_60591 ]
     
Manfred Geiler commented on MYFACES-121:
----------------------------------------

The patch simply makes JspViewHandlerImpl take the first FacesServlet mapping 
in the web.xml as default. So, since 99% of users will have only one 
FacesServlet mapping in the web.xml anyway, I do not see a real problem for 
this.
There only remains one small very special issue:
You cannot use Struts and Faces while having two FacesServlet mapping of 
different kinds (one extension mapping and one path mapping). I think we can 
live with that. ;-)

+1 No objection.


> 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/[email protected]/msg01610.html
> - http://www.mail-archive.com/[email protected]/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

Reply via email to