Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
-
None
-
None
Description
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.