-
1. Re: Many requests in filter for a single call
nbelaevski May 24, 2011 4:00 PM (in response to acormond)Hi Alex,
You are right, Faces Servlet provides rendering of JSF resource contents, so they are coming as *.jsf requests too.
-
2. Re: Many requests in filter for a single call
acormond May 24, 2011 4:20 PM (in response to nbelaevski)Hi Nick,
Thanks for the response, but I'm still confused. The rendering of the JSF page happens on the server, right, so why is the servlet filter receiving more than one request from the client? Said another way:
- The client sends a request for a JSF page
- The request is examined by the filter before it is sent to the server
- The request continues on to the server (the Faces Servlet)
- The servlet renders the response
- The filter might filter the outgoing response, except mine is set up to only examine requests
- The client receives the response
Where did I go wrong? Still, according to this scenario, the filter would only see one JSF request. You would make me much happier if you cleared up this issue for me.
Thanks,
Alex
-
3. Re: Many requests in filter for a single call
nbelaevski May 24, 2011 5:13 PM (in response to acormond)Alex,
With HTTP protocol client initiates new request for each resource. So, you have JSF page that refers another resources (components styles and scripts), so they are requested once the response HTML page hits the client.
-
4. Re: Many requests in filter for a single call
acormond May 25, 2011 9:38 AM (in response to nbelaevski)Thank you sir. Yes, I'm much happier ..., well ...