Reply To: Problems with "a" tags

Splash Forums Rewrite Users Problems with "a" tags Reply To: Problems with "a" tags

#23786

You could also try to reproduce it with an existing application. Rewrite ships with a JSF sample application called Rewrite Bookstore. You will find it here:

https://github.com/ocpsoft/rewrite/tree/master/showcase/bookstore

If you want more control over the filter ordering, you could simply copy&paste the relevant part of Rewrite’s web-fragment.xml directly into your web.xml:

  <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>

In this case you can place it anywhere you want.