2007/10/3, David Bernard <[EMAIL PROTECTED]>:
>
> Sorry No idea :-(
>
> abstract of your problem :
>
> http://foo.bar.com/app                  KO
> http://foo.bar.com/app/                 ??


This fails too.

http://foo.bar.com:8080/app             OK
> http://127.0.0.1:6802/app               ??


port 6802 is resin's srun server , not http-connectable


http://foo.bar.com/servlet/TotoServet   OK
>
> servlet/TotoServlet is part of the same webapp
> your filter mapping ?


> is it right ?


No , servlets are mapped by servlet-mapping (web.xml)  , not by
filter-mapping  :
  <servlet-mapping url-pattern="/servlet/*" servlet-name="invoker" />



Have you try:
> * to set port to 80 instead of 8080


Port 80 is listened by apache httpd.
I need apache httpd to serve  large amount of static contents.


* to create an empty dir app under your webapp, I know that Websphere failed
> if a filter is not apply on a file or servlet.


This fails too.

If I create a "app" directory under /home/foobar/www/  , and put  "
index.html" in /home/foobar/www/app/index.html ,
When types http://foo.bar.com/app , it will show the content of index.html ,
meaning that this URL is not intercepted by resin's filter.

However , If I create a /home/foobar/www/servlet directory , and put "
index.html" in it.
When types http://foo.bar.com/servlet , resin will intercept and throws this
exception :

javax.servlet.ServletException: Class `index.html' was not found in classpath.
Classes normally belong in /WEB-INF/classes.

Reply via email to