title: request sent by client is syntactically incorrect in windows
body: <p>I am having problem with my application as I  am using Apache Tomcat Server 7.0.26, Spring MVC 3.0, MySql, so my problem is </p>
  
  <p>I have implemented Search page so, it sends the request parameter to controller and it works fine on Ubuntu but When I try it on Windows 7 it gives me error of: request sent by client is syntactically incorrect in windows.</p>
  
  <p>Here's the code of my controller:</p>
  
  <hr>
  
  <pre><code>@RequestMapping(value="/viewSelectedAdvance") 
  public ModelAndView showSelectedAdvance(@RequestParam(value="date",required=false) Date date,@RequestParam(value="date1",required=false) Date date1) { 
      ModelAndView mav=new ModelAndView("showSelectedAdvance"); 
      List&lt;Expense&gt; expense=reportDAO.getExpenseReport(date,date1);
      mav.addObject("EXPENSE_SELECTED_REPORT", expense); 
      System.out.println(date); 
      System.out.println(date1); 
      return mav; 
  }
  </code></pre>
  
  <hr>
  
  <p>And my template:</p>
  
  <hr>
  
  <pre><code>&lt;form action="viewSelectedAdvance.html" method="post"&gt;
      &lt;table style="border-collapse: collapse;" border="0" y cellspacing="0" cellpadding="0"&gt; 
          &lt;tr&gt;
              &lt;td&gt;Enter Start Date&lt;/td&gt; 
              &lt;td&gt;
                  &lt;input type="text" name="date" id="dt" readonly="true"/&gt;
                  &lt;a href="javascript:NewCal('dt','yyyymmdd')"&gt;&lt;/a&gt;
              &lt;td&gt;Enter End Date&lt;/td&gt;
              &lt;input type="text" name="date1" id="dt1" readonly="true" /&gt;
              &lt;a href="javascript:NewCal('dt1','yyyymmdd')"&gt;&lt;/a&gt; 
              &lt;input type="submit" value="Generate Report" onClick="javascript:getDate();" /&gt; 
      &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How can I solve this problem</p>
  
  <p>Thanks, in advance</p>