hi, i’m trying to write an authentication filter servlet for a jsf application.
first time the filter is caller, the filter check the presence of the login session bean in the session and if not found does .sendRedirect( httpRequest.getContextPath()+ “/login.faces” );
second tiem the filter is called, when is trying to open the login page, it check for the presence of login.faces in the requestUri and if found call chain.doFilter(request, response) but i otain an exception with
Can’t find stream for /login.jspx.jsp
the real file name for the page is login.jspx, but seems add a .jsp extension.
how can i solve this problem?
best regards,
luca morelli