title: Struts2 debug=browser does not capture url parameters in action class variables?
body: <p>I have a very simple action class with one member variable "data". when I submit the normal url it shows value in tomcat console like:<code>Test action data=hello</code></p>
  
  <pre><code>public class ActionTest extends ActionSupport {
  
  private static final long serialVersionUID = -2606731098320589210L;
  private String data;
  
  public String getData() {
      return data;
  }
  
  public void setData(String data) {
      this.data = data;
  }
  
  @Action(value = "mytestaction")
  public String execute() {
      System.out.println("Test action data="+data);
      return SUCCESS;
  }
  }
  </code></pre>
  
  <p>If I use debug mode like modifying url with <strong>mytestaction.action?data=hello&amp;debug=browser</strong>
  in tomcat console it shows <code>Test action data=null</code>. But it shows the value in browser ognl context tree in parameters. However the same <code>data</code> is null when Action class is expanded.</p>
  
  <p>In other debug mode like <strong>debug=xml</strong> it comes as </p>
  
  <pre><code>&lt;actionErrors /&gt; 
  &lt;actionMessages /&gt; 
  &lt;class&gt;class com.ycs.fe.actions.ActionTest&lt;/class&gt; 
  &lt;data&gt;hello&lt;/data&gt; 
  &lt;errorMessages /&gt; 
  &lt;errors /&gt; 
  &lt;fieldErrors /&gt; 
  </code></pre>
  
  <p>and in <strong>debug=console</strong> mode if i print the OGNL <code>#action.data =&gt;shows hello</code>
  also <code>#parameters.data[0] =&gt; shows hello</code>.</p>
  
  <p>Is this a genuine bug? or am i missing something? I tried with convention as well as mapping in struts.xml, but both have same result.</p>