Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1207

Change registration of SlingPostServlet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Post 2.0.4
    • Servlets Post 2.1.0
    • Servlets
    • None

    Description

      The SlingPostServlet currently registers with these properties:

      sling.servlet.resourceTypes = "sling/servlet/default"
      sling.servlet.methods = "POST"

      It is probably better to register the SlingPostServlet with the sling.servlet.paths property like this:

      sling.servlet.paths = "sling/servlet/default/POST"

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: