Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-5463

SiteMesh 3.2.1 does not resolve jsp path after Struts Filter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0.0
    • 7.0.0
    • Plugin - SiteMesh
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              romain.tm Romain TM
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h