Hi all,
I am on iPlanet 6 as,
iPlanet-WebServer-Enterprise/6.0 B05/18/2001 11:18
Now, I face one issue. I am trying to use filtering via
servlet filter API. I have following entry in my web.xml file,
In TestFilter1.java I don't do anything. I just print a message in doFilter() and the do chain.doFilter() call.
This filter applies to all requests to
jsp pages and servlets but not to the static resources like html files. So,
1. if I query,
http://myserver.com/contextname/jsp/x.jsp it works (I see the message that I print in doFilter() method
2. if I query,
http://myserver.com/contextname/html/y.html then it doesn't work (I dont see the message I am printing in doFilter() method). This means that doFilter() doesn't get called.
Also, it doesn't matter where I put JSP pages. It works for them. So if I have,
http://myserver.com/html/z.jsp then I see the message in doFilter() which means regardless of any directory structure it works for JSP/servlets but not for "static" content...
I tried the same with Tomcat405 and it works fine there.
Does anybody know what is going on here?
Thanks!
Maulin