geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-3321) geronimo jetty module builder needs to turn jsp-property-group url-patterns into servlet mappings to the jsp servlet
Date Sat, 14 Jul 2007 03:38:04 GMT
geronimo jetty module builder needs to turn jsp-property-group url-patterns into servlet mappings
to the jsp servlet
--------------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-3321
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3321
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Jetty
    Affects Versions: 2.0-M6
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 2.0-M7


In a remarkable display of anti-separation-of-concerns and scorn of component architectures,
web.xml gets to have a lot of jsp configuration hidden in it.  In particular the jsp-config/jsp-properties-groups/url-pattern
elements are effectively servlet-mapping url-patterns to whatever servlet ends up handling
the request, typically the jsp servlet w/o precompilation.  These take precedence over any
identical servlet mappings.

Motivated by this unclear sentence in the spec from srv.11.1:

 The first successful match is used with no further 
matches attempted: 

geronimo adds servlet mappings starting from the beginning of web.xml and ignores identical
servlet mappings found later.  Therefore geronimo needs to process these jsp url-mappings
before the normal servlet mappings.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message