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] Commented: (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 22:26:04 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512751
] 

David Jencks commented on GERONIMO-3321:
----------------------------------------

Previous fix eliminated the default jsp mappings for the jsp servlet, so unmapped jsps stopped
working.  Fixed in rev. 556346.

> 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