You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/07/14 05:40:04 UTC

[jira] Closed: (GERONIMO-3321) geronimo jetty module builder needs to turn jsp-property-group url-patterns into servlet mappings to the jsp servlet

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

David Jencks closed GERONIMO-3321.
----------------------------------

    Resolution: Fixed

Implemented in rev 556217.

> 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.