File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Filtering doesnt work on iPlanet 6

 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am on Webserver. I am not using Sun ONE App server but I thought this post might get response here. Moderators, please move this post to appropriate forum if you feel.
Regards
Maulin
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Moderator,
Can you please move this to Java Advanced forum?
Regards
Maulin
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic