Passing values according to fields in a table

Hi

I am using Tomcat 6, JDK 6, Win XP.

I have first.jsp , which collects information from a file and and displays it in the table, plus some common operations , for example :

A1 A2select update delete

B1 B2select update delete

C1 C2select update delete

So my first row of information consists of A1 and A2 and three operations which are hyper links to the next page, second.jsp:

Data fields : A1, A2 and

<a href="select.jsp"> Select </a> <a href="update.jsp"> Update </a> <a href="delete.jsp"> Delete </a>

This is my Question:

first.jsp should send the correct parameters to second.jsp. Meaning, if user clicks the update in 2nd row, second.jsp should get B1,B2 and operation update and build a update.jsp page accordingly.

Could you tell me how first.jsp can pass these values to second.jsp ?

Thank you

[920 byte] By [denis_palasa] at [2007-11-27 2:15:31]
# 1
In the file.A1,A2 should have serial number that is like primary key .right?
kamal_shana at 2007-7-12 2:12:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

hope u build the table using for() loop .

<a href = "select.jsp?id=<%=primarykeyvalue%>">select</a>

<a href = "update.jsp?id=<%=primarykeyvalue%>">Update</a>

<a href = "delete.jsp?id=<%=primarykeyvalue%>">Delete</a>

Try this

kamal_shana at 2007-7-12 2:12:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
A1 and A2 (or possibly more fields like A3 and A4) are text values returned from a result set using Jena library. A for loop is used to build this text + operations into appropriate cells in a table.
denis_palasa at 2007-7-12 2:12:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...