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

Struts2 debugging using debug=browser in url does not populate url parameters in action class member variables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.1, 2.2.1.1
    • 2.3.1
    • Core Interceptors
    • None
    • Windows 7 Struts2.2.1 basic jars found in blank.war plus code convention/annotation jar and struts2-config-browser-plugin-2.2.1.jar

    Description

      When pass a few variables in url and pupulate the same in action class and System.out.print() those variables, I can see them getting populated and prints tomcat console. But the same action class when debugging using browser `debug=browser` the action class variables are null or remain in initialized value and 'null' gets printed on tomcat console corresponding to that variable. The variable gets displayed in #parameters.
      However, the other two debugging technique like `debug=console` shows the values in action which is normal. Also `debug=xml` also shows the value in action and in tomcat console also it is printed properly.

      Attachments

        Activity

          People

            maurizio.cucchiara Maurizio Cucchiara
            samarjit samarjit samanta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: