Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-7030

RequestMapping PUT method does not have any populate any parameters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: Web
    • Labels:
      None

      Description

      I'm designing a RESTful webservice after successfully adding POST (create) requests I moved over to work on PUT (edit) requests. Upon testing the PUT methods I noticed there was a stack trace and a generic "put method not supported" warning along with the stack trace although when debugging the request mapped method is clearly invoked via debugger. I inspected further and noticed my "command" object and request parameters were not being bound whereas switching the method on the client and server to POST did have the appropriate bound parameters.

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              naret Andy Tran
              Last updater:
              Arjan van B.
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 17 weeks, 2 days ago