Volodymyr Siedlecki created MYFACES-4524:
--------------------------------------------

             Summary: Generate Proper Resource Paths
                 Key: MYFACES-4524
                 URL: https://issues.apache.org/jira/browse/MYFACES-4524
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 4.0.0-RC2, 3.0.2, 2.3-next-M7, 2.3.10, 2.2.14
            Reporter: Volodymyr Siedlecki


The TCK tested incorrect resource paths which means MyFaces been incorrect the 
whole time.

For non faces requests, the resource path (using the attached TCK app) would 
like this: 

{noformat}
/jsf_appl_resource_web/TestServlet/jakarta.faces.resource/duke-boxer.gif?ln=images
{noformat}
 where TestServlet is the servlet mapping.   The correct path should use the 
appropriate faces mapping instead (i.e prefix with /faces/ or use the xhtml 
extension) 

You can read BalusC's reply in this issue: 
https://github.com/jakartaee/faces/issues/1663

Additionally, Mojarra updated to use Servlet 4 API Mappings 
(https://github.com/eclipse-ee4j/mojarra/pull/4956), and it might be good for 
us to update to that as well.  I'll create a separate JIRA. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to