[
https://issues.apache.org/jira/browse/TOMEE-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau resolved TOMEE-1339.
---------------------------------------
Resolution: Fixed
> [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
>
>
> 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)