Editable Table / SQL Tag

This page is designed to demonstrate how you can use the display tag to create editable rows of data. This particular example uses JSTL's <sql:query> tag to select, insert, update and delete rows from an actual database.

Sorting is disabled on the column headings. The reason? There's an issue with sorting when your <display:column> tag has a body. I didn't feel like digging in and fixing it. Sorry. ;-)

Motivation for this exercise was gained from this implementation, which is a patch that never made it into the old display tag (version 0.8.5).

Using the "View Table Source" link below this table, you can see the JSP/HTML code that's used to render this table.



Username First Name Last Name
,jkljklklklklklklklklklklklklklklklklkl afadfadf
aSDA D
sd sad sd

View JSP Source

NOTE: The table (temp_user) for this list will be dropped and re-created whenever this webapp is restarted.