This content has been marked as final.
Show 4 replies
-
1. Re: Richfaces and Servlet Filters
mmichalek Feb 4, 2008 5:37 PM (in response to trajber)The page is likely loading other RichFaces resources (css/images, etc.) which are separate requests to your app.
-
2. Re: Richfaces and Servlet Filters
trajber Feb 4, 2008 5:50 PM (in response to trajber)Hmmm I understand it now.
But I need to create a Filter that makes my system's authorization and I need to know what page is requested.
I cannot authorize/validate that ajax's requests. There's a way to do it ? -
3. Re: Richfaces and Servlet Filters
igor_d Feb 4, 2008 7:20 PM (in response to trajber)try to use:
<filter-mapping>
<filter-name>testFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping> -
4. Re: Richfaces and Servlet Filters
trajber Feb 11, 2008 11:44 AM (in response to trajber)It does not work. There´s AJAX requests that ends with .jsf, so Faces Servlet will be invoked.
Example:
/MYTEST/a4j_3_1_4.GAcss/panel.xcss/DATB/eAF7WBtjAQAF7wHz.jsf
Is there any way to these requests do not pass through my Filter ?"igor_d" wrote:
try to use:
<filter-mapping>
<filter-name>testFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>