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

Issue resolving objects name on struts tags

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.3.28
    • Fix Version/s: 2.3.28
    • Component/s: Core Tags
    • Labels:
      None

      Description

      Hi.

      Upgrading my app from struts 2.3.15.3 to 2.3.28 I found a kind of bug with tags on JSP files.

      When I make reference to firstObject.sObject.property on test.jsp file, it dont works, I couldn't take the value but, if I change the name of sObject on firstObject to sobject, and rename the getters and setters it's works.

      Also I could change the jsp property to firstObject.SObject.property without changing the object class and it works.

      You could find a test project on https://github.com/adrisanchez/strutsExample where you could test that issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                AdrianSan Adrián Sánchez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: