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

Parameters not set to action when posting JSON

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.2
    • 2.5.5
    • Core Actions
    • None
    • Windows

    • 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.xml
          4 kB
          COMBEAU
        2. ActionSample.java
          0.9 kB
          COMBEAU
        3. struts.properties
          6 kB
          COMBEAU
        4. login.jsp
          1 kB
          COMBEAU
        5. screenshot-1.png
          104 kB
          COMBEAU
        6. struts-2.3.28.xml
          4 kB
          COMBEAU

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: