[jboss-user] [JBoss Seam] - Re: Exception handling with @HttpError not working

susnet do-not-reply at jboss.com
Wed May 16 19:00:15 EDT 2007


No, forget what i wrote in my last post.
The problem was that i'm using Tuckey URLRewrite.  Then the Seam filter must come BEFORE the URLRewriteFilter in web.xml.

Like this:


  | <filter>
  |     <filter-name>Seam Filter</filter-name>
  |     <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
  |   </filter>  
  |   <filter-mapping>
  |     <filter-name>Seam Filter</filter-name>
  |     <url-pattern>/*</url-pattern>
  |   </filter-mapping>
  |   
  |   <filter>
  |     <filter-name>UrlRewriteFilter</filter-name>
  |     <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
  |     <init-param>
  |       <param-name>confReloadCheckInterval</param-name>
  |       <param-value>0</param-value>
  |     </init-param>
  |     <init-param> 
  |       <param-name>logLevel</param-name> 
  |       <param-value>WARN</param-value> 
  |     </init-param>
  |   </filter>
  |   <filter-mapping>
  |     <filter-name>UrlRewriteFilter</filter-name>
  |     <url-pattern>/*</url-pattern>
  |   </filter-mapping>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046329#4046329

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046329



More information about the jboss-user mailing list