Re: Asynch Request with

Splash Forums PrettyFaces Users Asynch Request with Re: Asynch Request with



You don’t want to use “*.jsf” <– yes – I understand now – THANKS! It helped me in finding this solution:

solution for now is to change EVERY pattern in pretty-config by adding prefix /page like:

/page/news/, /page/documents/ (instead of /news/, /documents/) and then changing in pretty web-fragment pattern to /page/* so that FacesFilter works only for such requests.

By doing it I can make exception for my servlet which listens on:

/asynchMessagesWatcher <– FacesFilter wont be chained here and everything works ok.

I am sorry but I cannot provide any sample app. Try just to create Servlet with asynch addnotation and method:

public void doGet(HttpServletRequest request, HttpServletResponse res) {

request.startAsync(request, res);}