Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-1388

Move bundled client-side resources (.js, .css) to META-INF/web-resources instead of META-INF

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2.0.M1
    • Fix Version/s: 2.2.0.RC1
    • Component/s: JavaScript
    • Labels:
      None

      Description

      Placing resources in META-INF/web-resources is recommended by the new resource serving mechanism in Spring MVC 3.0.4. Moving bundled client-side resources (Spring.js, Spring-Dojo.js, Dojo Toolkit, etc) to the recommended location would allow applications to use this configuration:

      <mvc:resources location="/, classpath:/META-INF/web-resources/" mapping="/resources/**"/>

      Instead of this:

      <mvc:resources location="classpath:/META-INF/dojo/" mapping="/resources/dojo/**"/>
      <mvc:resources location="classpath:/META-INF/dijit/" mapping="/resources/dijit/**"/>
      <mvc:resources location="classpath:/META-INF/spring/" mapping="/resources/spring/**"/>
      <mvc:resources location="/" mapping="/resources/**"/>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              rstoya05-aop Rossen Stoyanchev
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: