[ 
https://issues.apache.org/jira/browse/MYFACES-4524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Volodymyr Siedlecki resolved MYFACES-4524.
------------------------------------------
    Resolution: Fixed

> Generate Proper Resource Paths
> ------------------------------
>
>                 Key: MYFACES-4524
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4524
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.14, 2.3.10, 2.3-next-M7, 3.0.2, 4.0.0-RC2
>            Reporter: Volodymyr Siedlecki
>            Priority: Major
>             Fix For: 2.3.11, 3.0.3, 2.3-next-M8, 4.0.0-RC3
>
>         Attachments: jsf_appl_resource_web.war
>
>
> The TCK tested incorrect resource paths which means MyFaces has been 
> incorrect the whole time (along with Mojarra until 4.0.0).
> For non faces requests, the resource path (using the attached TCK app) would 
> be generated like this: 
> {noformat}
> /jsf_appl_resource_web/TestServlet/jakarta.faces.resource/duke-boxer.gif?ln=images
> {noformat}
>  where TestServlet is the servlet mapping.   However, 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 -- MYFACES-4525)



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

Reply via email to