One more thing that I forgot to add in the example.
If you want the HTML to create a link like this:
<a href="viewdata.jsp?value1=John">John</a>
The jsp should be:
<a href="viewdata.jsp?value1=<%= rs.getString(1)%>"><%= rs.getString(1)%></a>
Reputation Points: 1014
Solved Threads: 446
Nearly a Senior Poster
Offline 3,259 posts
since Dec 2007