anchor.diff:  			}   
   		</style>
   	</noscript>
  -</head>
   <body>
  +
   <form>
  -	Name: <jsp:element name="input">
  +	JNDI Connection Name: <jsp:element name="input">
   		<jsp:attribute name="name">name</jsp:attribute>
   		<jsp:attribute name="size">100</jsp:attribute>
  -		<jsp:attribute name="value"><jsp:expression>escapeXml(name)</jsp:expression></jsp:attribute></jsp:element><br/>
  -	SQL: <jsp:element name="input">
  -		<jsp:attribute name="name">sql</jsp:attribute>
  -		<jsp:attribute name="size">100</jsp:attribute>
  -		<jsp:attribute name="value"><jsp:expression>escapeXml(sql)</jsp:expression></jsp:attribute></jsp:element><br/>
  -	The contents of text area is ignored if there is some content in the line above.<br />
  -	<textarea name="sqltextarea" rows="5" cols="80"><jsp:expression  name="value">escapeXml(sqlTextArea)</jsp:expression></textarea><br />
  +		<jsp:attribute name="value"><c:out value="${param.name}" /></jsp:attribute></jsp:element><br/>
  +
  +	SQL: <br />
  +	<textarea name="sqltextarea" rows="5" cols="80"><c:out value="${param.sqltextarea}" /></textarea><br />
  +
  +	Previous SQLs: 
  +		<select onchange="sqltextarea.value=previousSql.options[previousSql.selectedIndex].value" id="previousSql">
  +			<option> </option>
  +			<c:forEach var="previousSql" items="${sessionScope.utilPreviousSqls}">
  +			<option><c:out escapeXml="true" value="${previousSql}"/></option>
  +			</c:forEach>
  +		</select><br />
  +
   	<input name="type" type="radio" size="100" checked="checked" value="query" />query<br />
  +	<input name="type" type="radio" size="100" value="queryTable" />query table data<br />
   	<input name="type" type="radio" size="100" value="update" />update <br />
   	<input type="submit" />
   </form>
  
positive.code: 	                 	 	} else if (c == '<') {
  	                 	 		out.print("&amp;lt;");
  	                 	 	} else if (c == '&') {
  								out.print("&amp;amp;");
  							} else {
  								out.print((char)c);
  							}
  							c = reader.read();
  	                 	 }
  	                 	 reader.close();
  						out.println("</pre></td>");
  						x++;
  	                 } else if (rs.getObject(x) == null) {
  	                     out.println("<td><em>null</em></td>");
  	                     x++;
  	                 }else {
  	                     out.println("<td>" + rs.getString(x) + "</td>");
  	                     x++;
  	                 }
  	             }
  	             out.println("</tr>");
  			}
  			out.print("</table>");
  		}
  		else {
  			out.print("result: " + statement.executeUpdate());
  
negative.code: 	                 if(rs.getMetaData().getColumnCount()<x) {
  	                     x=-1;
  	                 } else if (rs.getMetaData().getColumnType(x) == Types.CLOB)  {
  				Clob clob = rs.getClob(x);
  	                 	final Reader reader = new BufferedReader(clob.getCharacterStream());
  				out.print("<td><a href='#' onclick='toggle(this)' class='clob_toggle'>View CLOB</a><a href='#' onclick='untoggle(this)' class='clob'><pre>");
  	                 	 int c = reader.read();
  	                 	 while (c != -1) {
  	                 	 	if (c == '>') {
  