Re: PrettyFaces – Bypass filtering a pattern

Splash Forums PrettyFaces Users PrettyFaces – Bypass filtering a pattern Re: PrettyFaces – Bypass filtering a pattern

#23052

Because this app’s filter is filtering context /, once you access it, instead of the image I get to the error page.

I understand your problem. However I’m a bit surprised that the filter chain of your application gets processed even if the request URL actually accesses a virtual directory that is configured for your app server. But that seems to be a Glassfish issue.

What I don’t understand is: Why do you get an error page just because the request for an image is processed by the PrettyFilter? What kind of error do you get? If you don’t have any mapping defined for the requested URL or any rewrite rule that matches it, the PrettyFilter shouldn’t to anything with the request.

Could you perhaps post the relevant parts of your configuration? Your web.xml and pretty-config.xml? Which version of PrettyFaces are you using?