method call on link click

Hi All,

Using Jsp. Have written a Jdbc method.

I have following href link in my Jsp page

<tr>

<td height="13" >

<a href="http://geminisearch.fjcs.net/"

style="color:rgb(0,0,0);">

<b> <span class="navheadcategory"> <font size="1" face="Arial, Helvetica, sans-serif">Gemini Reports </font></span></b>

</a>

</td>

</tr>

I already have a Jdbc code that runs a select and update.

My requirement is:

1>User clicks the Gemini Reports link. At that point, I want to execute MySql code that has a select and insert statements. How can this be achived ? What way can I ensure that the link click calls Jdbc method (that performs select and insert) ?

thanks,

pp

[974 byte] By [prity1a] at [2007-11-26 13:56:31]
# 1
1. Is geminisearch one of your projects?. If it is, then you can check your db for new records.2. If geminisearch must insert data to your db, then you have to submit the page rather than calling it on directly
jgalacambraa at 2007-7-8 1:36:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...