DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33063





------- Additional Comments From [EMAIL PROTECTED]  2005-01-12 14:57 -------
Sorry, but this can't be the solution.

>From RequestFilter.java:

  protected static String[] ignoredResources;

  static {

    ignoredResources = new String[5];
    ignoredResources[0] = "sessionTimeout.jsp";
    ignoredResources[1] = "index.jsp";
    ignoredResources[2] = "gotoLogon.do";
    ignoredResources[3] = "logon.do";
    ignoredResources[4] = "staticJavascript.jsp";
  }

  [...]

      // Welche Resource wird gerade aufgerufen?
      String requestURL = httpRequest.getRequestURL().toString();

      // Wird eine "ignorierte Resource" aufgerufen?
      boolean ignoredResource = false;

      for(int xx = 0; xx < ignoredResources.length; xx++) {

        if(requestURL.endsWith(ignoredResources[xx])) {

          ignoredResource = true;
          break;
        }
      }

      // Wenn eine "ignorierte Resource" aufgerufen wird auch weitergehen.
      if(ignoredResource) {

        filterChain.doFilter(request, response);
      }


-----------------

As you see "index.jsp" will not be handled and CANNOT out put this:

 DEBUG http-8080-Processor25 de.lotk.webftp.servlet.RequestFilter - No valid
Session - redirecting Request "http://localhost:8080/webftp/"; to:
"/webftp/sessionTimeout.jsp"


(besides the "requestURL" would than be "http://localhost:8080/webftp/index.jsp";
and NOT "http://localhost:8080/webftp/";

Best regards
Stephan

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to