Is it possible that your filter is not dispatching ERROR?
e.g.:
<filter-mapping>
<filter-name>MyFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
Regards,
Peter
2010.05.06. 0:13 keltezéssel, glassfish_at_javadesktop.org írta:
> No matter what I try I can't get it to work, I throw a MyException but it will not move to the specified error page. I've tried every combination of the path to the error
> page, no matter it doesn't work.
>
> Every related forum is filled with people having the same problem, so my question
> is does this functionality actually work? or was it documented just to waste
> people's time? If there's no reply we will simply have to assume that it was just
> to waste time.
>
> <error-page>
> <exception-type>myco.exceptions.MyException</exception-type>
> <location>/faces/errorPage.xhtml</location>
> </error-page>
> [Message sent by forum member 'healeyb']
>
> http://forums.java.net/jive/thread.jspa?messageID=447132