Build a Servlet-Based Application that Executes SQL Statements Against a Database - The User Interface (Page 3 of 7 )
Here's the user interface for the SQL Gateway application after it has executed an INSERT statement:
As you can see, the bottom of the page shows a message that indicates the number of rows that were affected by the statement. If the SQL statement is a SELECT statement that runs successfully, the result set will be displayed within an HTML table as shown here:
Of course, if the SQL statement doesn't execute successfully, the result will be a message that displays information about the exception that was thrown.