• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Servlet Filtering doesnt work on iPlanet 6

 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Moderator,
Can you please move this to Java Advanced forum?
Regards
Maulin
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic