Return-Path: X-Original-To: apmail-tomee-commits-archive@www.apache.org Delivered-To: apmail-tomee-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E172711048 for ; Sun, 7 Sep 2014 13:50:28 +0000 (UTC) Received: (qmail 10252 invoked by uid 500); 7 Sep 2014 13:50:28 -0000 Delivered-To: apmail-tomee-commits-archive@tomee.apache.org Received: (qmail 10217 invoked by uid 500); 7 Sep 2014 13:50:28 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 10128 invoked by uid 500); 7 Sep 2014 13:50:28 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 10125 invoked by uid 99); 7 Sep 2014 13:50:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Sep 2014 13:50:28 +0000 Date: Sun, 7 Sep 2014 13:50:28 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TOMEE-1339) [JAXRS] try static resources first MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)