I have a filter which throw a ServletException in some usecases and web.xml is configured to show a jsf error page on that exception. I don't want at this stage that an http session is created. In debugging mode i see that FaceletViewHandlingStrategy.renderView force a http session creation. Why?
Asked
Active
Viewed 17 times
0
-
Have you checked whether the previous one is invalidated? If yes, then a creation of new one makes sense – Maciej Kowalski Jan 20 '17 at 22:16
-
@Maciej There is no previous http session, it's the first request from a bot. Now i understood... The project uses server state saving method and the error page is a JSF page. – jpl Jan 21 '17 at 08:10
-
I agree it could be marked as duplicate – jpl Jan 22 '17 at 14:59