title: How to get data from a ResultSet without explicitly
body: <p>I'm making a very simple application to display the contents of a database table on a webpage and so I'd like to loop through a ResultSet and stick the contents of each cell between <code>&lt;td&gt;</code> tags, etc..</p>
  
  <p>Problem is that the tables can be quite large and I don't want to use the explicit <em>getString()</em>, <em>getInt()</em>,  <em>getXXX()</em> methods.  Instead, it'd be nicer to use the <em>ResultSetMetaData</em> method <em>getColumnType()</em> as a parameter to a more generic ResultSet <code>getData(&lt;columName&gt;, &lt;type&gt;)</code> method, but there doesn't seem to be one.</p>
  
  <p>Is this possible?  Am I going about this the wrong way, or am I way off base?</p>