Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing one parameter from many values

Status
Not open for further replies.

welshone

Programmer
Jul 30, 2001
414
GB
hello,

I have a jsp that displays all buildings like :

name Address1 County Postcode ID

When I click on the row ( A HREF ) I want to pass the ID to a servlet.

at the moment, I can pass the ID, but not the correct one.
(only passes the first one in the list)

can anyone give any advice ?

many thanks.
 
Nevermind with this one.
I've done this by :
<a href=&quot;/Establishment_Detail?ID=<jsp:getProperty name = &quot;list&quot; property=&quot;ID&quot;/>&quot;>


thank you anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top