You are right, Faces Servlet provides rendering of JSF resource contents, so they are coming as *.jsf requests too.
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.
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.
Thank you sir. Yes, I'm much happier ..., well ...