title: jqgrid not loaded in ui kindly help me
body: <p>Hello first time i used jqgrid but data not loaded in UI</p>
  
  <p>*<strong><em>html file:</em>*</strong></p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;My First Grid&lt;/title&gt;
  &lt;link rel="stylesheet" type="text/css" media="screen" href="css/ui-redmond/jquery-ui-1.8.12.custom.css" /&gt;
  &lt;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&gt;
  
  &lt;style&gt;
  html, body {
      margin: 0;
      padding: 0;
      font-size: 75%;
  }
  &lt;/style&gt;
  &lt;script src="js/jquery-1.5.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/i18n/grid.locale-en.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/jquery.jqGrid.min.js" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  $(function(){
    $("#list").jqGrid({
      url:'/home/vbalamurugan/sename.jsp',
      datatype: 'xml',
      mtype: 'GET',
      colNames:['PROPERTY_NAME','PROPERTY_VALUE'],
      colModel :[
        {name:'PROPERTY_NAME', index:'PROPERTY_NAME', width:300},
        {name:'PROPERTY_VALUE', index:'PROPERTY_VALUE', width:300},
        ],
      pager: '#pager',
      rowNum:5,
      rowList:[10,20,30],
      sortname: '',
      sortorder: 'desc',
      viewrecords: true,
      caption: 'Bala First Grid'
    });
  });
  &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  &lt;table id="list"&gt;&lt;/table&gt;
  &lt;div id="pager"&gt;&lt;/div&gt;&lt;/body&gt;
  &lt;/html
  </code></pre>
  
  <p><strong>jsp</strong></p>
  
  <pre><code>&lt;%@page contentType="text/html" pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
     "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;%@ page import="java.sql.*" %&gt;
  &lt;%@ page import="java.io.*" %&gt;
  
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
          &lt;title&gt;JSP Page&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;%
  
  String jdbcURL = "jdbc:oracle:thin:@192.168.6.38:1521:XE";
  Connection conn = null;
  Statement stmt = null;
  ResultSet rs =null;
  String user ="raymedi_hq" ;
  String passwd ="raymedi_hq";
  int count=8;
  StringBuffer sbf=new StringBuffer(250);
  
  try {
   Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
   conn = DriverManager.getConnection(jdbcURL,user,passwd);
   stmt = conn.createStatement();
  
    response.setContentType("text/xml;charset=utf-8");
    response.setHeader("", "Content-type: text/xml;charset=utf-8");
  sbf.append("&lt;?xml version='1.0' encoding='utf-8'?&gt;");
  sbf.append("&lt;page&gt;2&lt;/page&gt;");
  sbf.append("&lt;total&gt;3&lt;/total&gt;");
  sbf.append("&lt;records&gt;"+count+"&lt;/records&gt;");
   rs = stmt.executeQuery("SELECT PROPERTY_NAME,PROPERTY_VALUE FROM HQ_FA_TAG");
   while(rs.next())
       {
  
          sbf.append("&lt;cell&gt;&lt;![CDATA["+rs.getString("PROPERTY_NAME")+"]]&gt;&lt;/cell&gt;");
          sbf.append("&lt;cell&gt;&lt;![CDATA["+rs.getString("PROPERTY_VALUE")+"]]&gt;&lt;/cell&gt;");
        }
   sbf.append( "&lt;/row&gt;");
   sbf.append("&lt;/rows&gt;");
   out.println(sbf.toString);
   System.out.println(sbf.toString());
   rs.close();rs=null;
    if (conn != null){
                       try{
                           conn.close();
                       }catch(Exception ex2){ex2.printStackTrace();}
                   }
  }
  catch(Exception e){e.printStackTrace();}
          %&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>