Non-Faces request generates Faces response and FacesServlet prefix mapping
Hello,
The JSF Spec says how a non-Faces request can be handled to generate a Faces response in section 2.1.1.
This works in as much as it generates a viewable page. However, the action URL's generated by the ViewHandler.getActionURL method do not seem to be correct if the FacesServlet is prefix mapped (e.g. as /faces/*).
In this case the action URL contains the mapping to the servlet called as the non-Faces request. This is because Util.getFacesMapping works by looking at the request that was called. It assumes that this was a request to the FacesServlet, although this is not the case here.
I am using JSF 1.2_01-b04. I will try upgrading to the latest version (although I could not see that this has been fixed in the release notes).
Has anyone come across this issue and got a work-around?

