Java Reference
In-Depth Information
Updating Database Data
Like we mentioned earlier, the <sql:update> tag can be used for executing both
SQL INSERT and UPDATE statements in the database. The easiest way to use this
tag to execute an SQL UPDATE statement is to drag the DB Update item from the
NetBeans palette into our page.
Like most JSTL SQL tags discussed so far, the easiest way to create an <sql:update>
statement that updates existing rows in a database table is to drag the DB Update
item from the NetBeans palette into our page.
After doing so, we are prompted for the usual additional information.
 
Search WWH ::




Custom Search