Re: ServletException: Exceeded maximum depth for nested request dispatches: 20

Splash Forums PrettyFaces Users ServletException: Exceeded maximum depth for nested request dispatches: 20 Re: ServletException: Exceeded maximum depth for nested request dispatches: 20

#23359

I’ve no idea what is going wrong with your app. But one thing is very strange: In the stacktrace you posted I’m seeing JspViewHandlingStrategy. This is strange because I would expect FaceletViewHandlingStrategy instead because you wrote that you are using Facelets. The JspViewHandlingStrategy seems to think that you are using JSPs. Therefore it forwards the incoming request to the JSP. And exactly this is causing the loop.

It seems like there are other people on the net having a similar problem. You should have a look here:

http://www.ninthavenue.com.au/blog/stackoverflow-exception-upgrading-to-jsf-2%2e

http://stackoverflow.com/questions/2000436/stackoverflow-when-running-jsf