Click
  1. Click
  2. CLK-570

Deploy resources from META-INF/resources to align with Servlet 3.0 spec

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0 RC1
    • Fix Version/s: 2.1.0
    • Component/s: core
    • Labels:
      None

      Description

      The Servlet 3.0 spec allows JavaScript, CSS and image resources to be served from META-INF/resources. Click has had a similar feature where it deploys resources from META-INF/web. We should align with the Servlet spec and deploy resources from META-INF/resources instead.

      If Click is deployed to a Servlet 3.0 container, no deployment would be necessary as resources would be served directly from the META-INF/resources folder.

      For backward compatibility we should still deploy resources from META-INF/web.

        Activity

        Bob Schellink created issue -
        Hide
        Bob Schellink added a comment -

        fixed in trunk

        Show
        Bob Schellink added a comment - fixed in trunk
        Bob Schellink made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development