一旦部署,Grails 2.1.1提交按钮不能与IE一起使用

时间:2018-01-02 16:44:47

标签: grails internet-explorer-11 gsp

我有一个选择日期范围的简单表单,然后单击一个提交按钮,它会在日期范围之间列出一些数据。

在Netbeans下以测试模式运行时,一切正常,除了使用IE(版本11)外,一切都正常工作。如果我使用IE,那么单击提交按钮完全没有效果。

但是当它在Netbeans下的本地机器上运行时,它适用于IE。一旦我部署到我的tomcat服务器IE停止工作,但Firefox和Chrome继续正常工作。

我不知道从哪里开始寻找。 HTML? Tomcat的? Grails的? IE浏览器? OS?爪哇?

我正在运行Windows 7,Grails 2.1.1,Java 7,Netbeans 7.2,以及我在ubuntu 14.04 LTS下部署到Tomcat6

我的Html类似于: -

<fieldset class="form">
<g:form action="list" method="GET">
  <div class="fieldcontain">
    </br>
    <table class="campl-table-bordered campl-table-striped campl-table" style="width: auto;">
      <thead>
          <tr>
          <th style="width: auto;">Start Date</th>                              
          <td><g:datePicker name="datefrom" value="${params.datefrom}" precision="day" years="${2012..2099}"  noSelection="['':'']"/></td>
          </tr>                                  
          <tr>
          <th style="width: auto;">End Date</th>                                   
          <td><g:datePicker name="dateto" value="${params.dateto}" precision="day" years="${2012..2099}"  noSelection="['':'']"/></td>
          </tr>          
      </thead>
    </table>

      </br>
      <button class="btn btn-inverse" >Submit   </button>       
       </br>
      </br>
      </br>
       Download to CSV <g:checkBox name="myCheckbox" value="${false}" /> 
  </div>
</g:form> 
</fieldset>

0 个答案:

没有答案