[jboss-user] [Beginners Corner] - Re: JBoss 4.0.5 servlet filter problem in web.xml

rayymlai do-not-reply at jboss.com
Tue Oct 31 15:29:32 EST 2006


This setup will work:


1. web.xml :

   <!-- Faces Servlet Mapping -->
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.faces</url-pattern>
    </servlet-mapping>

    <!-- Welcome File List -->
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

2. In the browser, enter

http://localhost:8080/xxx/
or http://localhost:8080/xxx/index.faces
or http://localhost:8080/xxx/index.jsp

However, if you specify 
*.jsp in the url-pattern of the web.xml,
JBoss will spin a few minutes when generating exceptions

I deploy the same JSF app in BEA Weblogic or Sun Java, and I don't have the same problem.

Questions

Any pointer to why?
Is this a bug in JBoss's implementation of the servlet filter?
Thanks


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982210#3982210

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982210



More information about the jboss-user mailing list