分页不适用于linux操作系统

时间:2016-05-20 05:05:34

标签: javascript jsp pagination

以下是我的代码,

<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title" inline="center"><b>PRODUCT DETAILS</b></div>
<div class="panel-body">
  <div class="table-responsive">
    <table id="datatable" class="table table-bordered table-striped col-lg-3">
        <thead>
            <tr bgcolor="#f7d4f7">
              <th>SL No.</td>
              <th>Product Id </th>
              <th>Image Id</th>
              <th>Product Name</th>
              <th>Merchant Name</th>
              <th>price</th>
              <th>Status</th>  
              <th>desc</th>
            </tr> 
            </thead>
            <tbody>
            <%
            for( int index=0; index< productDetails.length; index++)
            {                   
                String productIdColumn = productDetails[ index][ 0];
                String imageIdColumn = productDetails[ index][ 1];
                String productName = productDetails[ index][2];
                String merchantname = productDetails[ index][3];
                String price = productDetails[ index][ 4];
                String status = productDetails[ index][5];
                String desc = productDetails[ index][6];
                if( productIdColumn == null) break;
                %>          
                <tr>                                
                    <td><%= (index+1)%></td>
                    <td><%= imageIdColumn%></td>
                    <td><%= productIdColumn%></td>
                    <td><%= productName%></td>
                    <td><%= merchantname%></td>
                    <td><%= price%></td>
                    <td><%= status%></td>
                    <td><%= desc%></td>
                </tr>
            <% } %>
        </table>
    </div>
    </div>
    </div>
</div>
</div>

在这张图片中,我现在获得了centos,window7,8和8.1操作系统的相同分页,但没有获得linux。

Image

任何帮助都将不胜感激。

0 个答案:

没有答案