Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1339

[JAXRS] try static resources first

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0-M1, 7.0.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: