Hi. I have a database which has a table "Person". A person has many attributes, including name, last name, age, sex, etc. I want to have a page where one would have a form with text boxes for each one of the attributes a person has (name, age...). If I only fill the text boxes "name" and "lastname" and send the form, I'd like to show every single single person which coincides with this search. I understand there's something called logic:iterate or something like that to do this. In any case, my real question is the following: I want to be able to click in any person I want which was part of the result of the search and then show on the linked page his or her attributes. Here's an example:
Let's say I have three persons:
Person 1: Name: A, LastName: B
Person 2: Name: B, LastName: C
Person 3: Name: A, LastName: D
In the search page, I do a search only by the name. I write A as a name. Obviously, 2 persons are matched. It should print:
A, B
A, D
I want to click in "A, D" so this can take me to other page where I can see all the attributes of the person. How can I do this? I'm using
Struts 1.3. Thanks