%-- Instantiate sqlInterpreter Bean --%>
<%-- Set Bean Properties --%>
<%-- Define jspInit to load JDBC Driver --%>
<%!
public void jspInit() {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
} catch (ClassNotFoundException e) {
System.out.println(e.toString());
}
}
%>
<%-- Start HTML Code --%>
SQL Interpreter on the Web
SQL Interpreter on the Web
Please enter your SQL statement:
<%= myBean.getQueryResult() %>