Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4684

Parameters not set to action when posting JSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 2.5.5
    • Component/s: Core Actions
    • Labels:
      None
    • Environment:

      Windows

    • Flags:
      Important

      Description

      I have an issue on my webapp since I have update Struts 2 to version 2.5.2 from 2.3.28.

      When I post a form with parameters via ajax call, on the action class setters are not called. All the time the setter and getter return "null" value

      I used Struts2-core and struts2-json-plugin

        Attachments

        1. struts-2.3.28.xml
          4 kB
          COMBEAU
        2. struts.xml
          4 kB
          COMBEAU
        3. struts.properties
          6 kB
          COMBEAU
        4. screenshot-1.png
          104 kB
          COMBEAU
        5. login.jsp
          1 kB
          COMBEAU
        6. ActionSample.java
          0.9 kB
          COMBEAU

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                walkn COMBEAU
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: