Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3657

HTTP 405 error on validation failure on server side

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.0.0.M1
    • Fix Version/s: 2.0.0.M1
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      TOMCAT 8, Windows 7, JAVA 7

      Description

      Scenario is :

      1. I have extra view and method in controler for forcing user to change password.
      2. I don't want to send old encrypted password to view and creating ecripting function in javascript.
      3. I want to take plain password form UPDATE form, encrypt and test it equals with old one in controller.
      4. When password equals, I do "bindingResult.rejectValue("password"", "user_same_password")"
      5. After return I get "HTTP Status 405 - JSPs only permit GET POST or HEAD" from tomcat without stacktrace.
      6. When I use create form (use post method) everyting work as should.

        Attachments

          Activity

            People

            Assignee:
            eruiz Enrique Ruiz (DiSiD)
            Reporter:
            kalu Albert Kaluga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: