Uploaded image for project: 'PUBLIC - MVC4SPRING'
  1. PUBLIC - MVC4SPRING
  2. MVCS-21

Unable to activate a filter-mapping defined in web.xml with servlet-name on Liferay Portal

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0
    • Component/s: archetype, demo
    • Labels:
      None

      Description

      It should be possible to activate the DelegatingFilterProxy servlet filter using a servlet-name like the following, but it doesn't work on Liferay Portal:

      WEB-INF/web.xml
      	<filter>
      		<filter-name>delegatingFilterProxy</filter-name>
      		<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
      	</filter>
      	<filter-mapping>
      		<filter-name>delegatingFilterProxy</filter-name>
      		<servlet-name>ViewRendererServlet</servlet-name>
      		<dispatcher>INCLUDE</dispatcher>
      	</filter-mapping>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neil.griffin Neil Griffin
                Reporter:
                neil.griffin Neil Griffin
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  5.1.0