[jboss-jira] [JBoss JIRA] (AS7-5550) servlet filter mapping empty string not working

Cheng Fang (JIRA) jira-events at lists.jboss.org
Thu Sep 13 11:09:33 EDT 2012


Cheng Fang created AS7-5550:
-------------------------------

             Summary: servlet filter mapping empty string not working
                 Key: AS7-5550
                 URL: https://issues.jboss.org/browse/AS7-5550
             Project: Application Server 7
          Issue Type: Bug
          Components: Web
    Affects Versions: 7.2.0.Alpha1
            Reporter: Cheng Fang
            Assignee: Remy Maucherat


the special url pattern "" (empty string) works in servlet mapping, but not in servlet filter mapping.

{quote}
12.2 Specification of Mappings
...
The empty string ("") is a special URL pattern that exactly maps to the
application's context root, i.e., requests of the form http://host:port/<context- root>/. 
{quote}

The @WebFilter(urlPatterns={""}) is not triggered at request time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list