servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-22

Allow static resources to be served from WEB-INF/classes/META-INF/resources

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      IDEs often unpack JAR files into the classes directory. This breaks the static resources from JAR files feature of Servlet 3.0. Allowing static resources to be read from the classes dir would address this.

        Issue Links

          Activity

          Hide
          Rajiv Mordani added a comment -

          Would the order then be to first look for resources in WEB-INF/classes/META-INF/resources and then in the jar files?

          Show
          Rajiv Mordani added a comment - Would the order then be to first look for resources in WEB-INF/classes/META-INF/resources and then in the jar files?
          Hide
          markt_asf added a comment -

          I think that makes sense as it would be consistent with the ordering for class-loading.

          I don't have particularly strong feelings about what the order is but I do think that it is important that - if this feature is added - the specification clearly defines what the order is.

          Show
          markt_asf added a comment - I think that makes sense as it would be consistent with the ordering for class-loading. I don't have particularly strong feelings about what the order is but I do think that it is important that - if this feature is added - the specification clearly defines what the order is.

            People

            • Assignee:
              Unassigned
              Reporter:
              markt_asf
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: