title: update to struts2.3.15.1 breaks dot notation in jsp
body: <p>We updated to Struts 2.3.15.1 for security purposes.  When we did we noticed that we lost some ability to set values using the dot notation method in the jsp.  If we have a map that takes the Foo class and Foo has a Bar class, we had been previously successful in setting the Bar class for Foo using a hidden field.  When we updated, the Bar class is now coming across as null whereas before the Bar class - in the sample below - would have been created for Foo and given an id value of 12. I know this is similar to the question on 2.3.15.1 not setting hashmap values but the suggestions in that post have been tried without success:</p>
  
  <p>[<a href="https://stackoverflow.com/questions/18028172/upgrading-to-struts-2-3-15-1-does-not-set-hashmap-values-on-action-class][1]">Upgrading to struts 2.3.15.1 does not set HashMap values on action class</a></p>
  
  <p>Is there a syntax that we need to be using in our jsp to get the previous results with the new version of Struts?</p>
  
  <p><strong>Class Foo</strong></p>
  
  <pre><code>private Bar bar;
  
  private String name;
  
  public Bar getBar(){
  
  return bar;
  
  }
  
  public void setBar(Bar bar){
  
  this.bar = bar;
  
  }
  
  public String getName(){
  
  return name;
  
  }
  
  public void setName(String name){
  
  this.name = name;
  
  }
  </code></pre>
  
  <p><strong>Class Bar</strong></p>
  
  <pre><code>private int id
  
  public int getId(){
  
  return id;
  
  }
  
  public void setId(int id){
  
  this.id = id;
  
  }
  </code></pre>
  
  <p><strong>Class ActionClass</strong>{</p>
  
  <pre><code>private Map&lt;String, Foo&gt; userInputMap;
  
  public Map&lt;String, Foo&gt; getUserInputMap(){
  return userInputMap;
  }
  
  public void setUserInputMap(Map&lt;String, Foo&gt;, userInputMap){
  this.userInputMap = userInputMap;
  }
  
  }
  </code></pre>
  
  <p><strong>input.jsp</strong></p>
  
  <pre><code>&lt;s:hidden name="foo.userInputMap&lt;'first_map_key'&gt;.bar.id" value="12" /&gt;
  
  &lt;s:textarea name="foo.userInputMap&lt;'first_map_key'&gt;.name /&gt;
  </code></pre>