facebook

problem with filter servlet

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #287482 Reply

    lucaMorelli
    Member

    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

    #287576 Reply

    Loyal Water
    Member

    Moving to Off Topic >> Software Development.

    #287588 Reply

    ernestz
    Member

    Do you have a servlet mapping for url-pattern of *.faces in your web.xml file?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: problem with filter servlet

You must be logged in to post in the forum log in