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

Struts text tag doesn't print value from Stack

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.5.12, 2.5.13
    • Fix Version/s: 2.5.14
    • Component/s: None
    • Labels:
      None

      Description

      Hi,
      We are upgrading Struts from 2.3.x version to 2.5.12 or 2.5.13 and I see that the text tag doesn't print the value from the stack. I have created a sample web project and ed the same on this Jira to demonstrate the issue.

      I have 2 statements in testStruts.jsp:
      <s:property value = "myName"/> - Doesn't print the value set in action TestStrutsAction.java. I see in debug mode that the control is coming to the method getMyName() in the action and the value that I have set is present.

      <s:property value = "myName"/> - Prints the value set in the action.

      Could you please look into this and tell me if any config is missing?

      Thanks,
      Prasann

        Attachments

        1. TestStruts.zip
          9 kB
          Prasann Grampurohit

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prasannkg@gmail.com Prasann Grampurohit
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: