Reply To: Prettyfaces + Spring security only works on Tomcat 7 – not on Tomcat 6

Splash Forums Rewrite Users Prettyfaces + Spring security only works on Tomcat 7 – not on Tomcat 6 Reply To: Prettyfaces + Spring security only works on Tomcat 7 – not on Tomcat 6

#25395

Try adding all of this to your web.xml (including the listeners.) It just occurred to me that they might be required:



   <listener>
      <listener-class>org.ocpsoft.rewrite.servlet.impl.RewriteServletRequestListener</listener-class>
   </listener>

   <listener>
      <listener-class>org.ocpsoft.rewrite.servlet.impl.RewriteServletContextListener</listener-class>
   </listener>

   <filter>
      <filter-name>OCPsoft Rewrite Filter</filter-name>
      <filter-class>org.ocpsoft.rewrite.servlet.RewriteFilter</filter-class>
      <async-supported>true</async-supported>
   </filter>
   <filter-mapping>
      <filter-name>OCPsoft Rewrite Filter</filter-name>
      <url-pattern>/*</url-pattern>
      <dispatcher>FORWARD</dispatcher>
      <dispatcher>REQUEST</dispatcher>
      <dispatcher>INCLUDE</dispatcher>
      <dispatcher>ASYNC</dispatcher>
      <dispatcher>ERROR</dispatcher>
   </filter-mapping>