You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2024/10/11 06:23:00 UTC

[jira] [Commented] (WW-5463) SiteMesh 3.2.1 does not resolve jsp path after Struts Filter

    [ https://issues.apache.org/jira/browse/WW-5463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888524#comment-17888524 ] 

Lukasz Lenart commented on WW-5463:
-----------------------------------

I created a simple example how to integrate with Sitemesh3 and didn't notice any issue, just don't use Struts 2 plugin

https://github.com/apache/struts-examples/pull/377

> SiteMesh 3.2.1 does not resolve jsp path after Struts Filter
> ------------------------------------------------------------
>
>                 Key: WW-5463
>                 URL: https://issues.apache.org/jira/browse/WW-5463
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - SiteMesh
>    Affects Versions: 7.0.0
>            Reporter: Romain TM
>            Priority: Major
>             Fix For: 7.0.0
>
>
> Hello, I am trying to make Sitemesh 3.2.1 works with my project updated to Struts 7.0.0-M9 without success.
> Indeed, after StrutsFilter applies, the Servlet path contains the final jsp path as usual. However, because the _RequestPath_ is ridden by Sitemesh from the _FORWARD_SERVLET_PATH_ attribute (WabAppContext.java line 95), SiteMeshFilter uses the original path attribute (my struts action name) instead of the resulting jsp path. So the configured decorator for my jsp can not be resolved anymore (It uses to work with Sitemesh 3.0 and Struts 6.3)
> Is it a known issue or a wrong configuration on my side?
> I am using _org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter_ as Struts filter and _org.sitemesh.config.ConfigurableSiteMeshFilter_ as SiteMesh filter
> Thanks for your help



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