title: How to populate the values of XML in JSP?
body: <p>I am new to the Java development. I need to populate XML fields in a JSP page.</p>
  
  <p>I didn't do with JDBC actually i have written the Mysql wrapper in C</p>
  
  <p>it executes the query and return the table value as XML.</p>
  
  <p>Help me how to populate the XML fields in JSP?</p>
  
  <p>how to read the XML file using JDBC ResultSet?</p>
  
  <p>Will be much helpful</p>
  
  <p>thanks </p>
  
  <p>krishna</p>
  
  <p>The XML File from C Wrapper</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;test&gt;
  &lt;TableRow&gt;
  &lt;name&gt;
  krishna
  &lt;/name&gt;
  &lt;Age&gt;
  30
  &lt;/Age&gt;
  &lt;/TableRow&gt;
  &lt;TableRow&gt;
  &lt;name&gt;
  kumar
  &lt;/name&gt;
  &lt;Age&gt;
  40
  &lt;/Age&gt;
  &lt;/TableRow&gt;
  &lt;TableRow&gt;
  &lt;name&gt;
  kumar
  &lt;/name&gt;
  &lt;Age&gt;
  40
  &lt;/Age&gt;
  &lt;/TableRow&gt;
  &lt;/test&gt;
  </code></pre>