You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/09/07 15:50:28 UTC

[jira] [Updated] (TOMEE-1339) [JAXRS] try static resources first

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

Romain Manni-Bucau updated TOMEE-1339:
--------------------------------------
    Fix Version/s: 1.7.1

> [JAXRS] try static resources first
> ----------------------------------
>
>                 Key: TOMEE-1339
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1339
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>             Fix For: 2.0.0, 1.7.1
>
>
> if there is a jaxrs service mapped on /the but the resource is on nothing particular (/ by default) then static resources (index.html) will not be matched
> This jira makes it tried by default (not that impacting regarding perf thanks to tomcat impl).
> Side note: it doesn't respect yet welcome files (/ means try index.html) since it can be jsp which should be filtered. Here we just return static files and we don't run another jsp to avoid hell
> openejb.jaxrs.static-first property (boolean) allows to switch it off and cxf.jaxrs.static-resources-list still works for manual config



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)