how to direct 2 buttons' action (loop statement)

i'm developing a program where the manager is able to give approval to articles that are submitted by users.

i've created a page where all the articles will be listed out in a table form (1 article in 1 table)using a loop statement. in each table, there will be 2 buttons "give approval" and "reject". when manager clicks the button, it should perform the respective actions ("give approval" action=approve.jsp and "reject" action= reject.jsp). how should i code it as each table will have different article title.

[538 byte] By [kacheeka] at [2007-10-2 18:27:42]
# 1
Using query String/?ID = <%= rs("ID")%>& action = 'reject' (or 'approval')And combine with java script to locate which button is pressed
musica at 2007-7-13 19:48:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...