title: Struts2 Java Util date conversion problem
body: <p>In my application i have one textfield which maps to date in action class. If i entered 15/12/2011 (MM/dd/yyyy) it automatically converts it to 03/12/2012(MM/dd/yyyy).</p>
  
  <p>My code is : </p>
  
  <p>jsp Page :</p>
  
  <pre><code>&lt;s:textfield name="drDt" id="drDt" /&gt;
  </code></pre>
  
  <p>Action class:</p>
  
  <pre><code>private Date drDt;
  public Date getDrDt() {
      return drDt;
  }
  
  public void setDrDt(Date drDt) {
      this.drDt = drDt;
  }
  </code></pre>
  
  <p>Problem is with code :</p>
  
  <pre><code>SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy");
  
  sdf.parse(dateValue);
  </code></pre>
  
  <p>above statement has some problem.</p>