Hi,
I put hidden field input with value="#{person.id}" over the form with
action="DeletePerson"
--------------
<tr >
    <th bgcolor=>ID</th>
    <th bgcolor=>FirstName</th>
    <th bgcolor=>LastName</th>
    <th bgcolor=>Action</th>
</tr>
<c:forEach  var="person"  begin="0" items="$
{requestScope.personList}">
<tr>

    <td>${person.id}&nbsp;&nbsp;</td>
    <td>${person.firstName}&nbsp;&nbsp;</td>
    <td>${person.lastName}&nbsp;&nbsp;</td>
    <td>
        <form action="DeletePerson" method="post">
            <input     type="hidden" name="id" value="${person.id}">
            <input align="center" type="submit" value="Delete">
        </form>
    </td>

</tr>
-----------------------
I don't now "Is that the rihgt  way to solve this examine, but it
works."
Sorry my English isn't good :(
Regards from Bulgaia

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to