Thanks for you reply, but I have a question the below is the code I am using . I need to use this contID in editcontacts.action. please give me little bit explanation too.
<s:iterator value="ShowContacts" id="contact">
<tr>
<td> <s:property id="contID" value ="#contact.contactId" /></td>
<td> <s:property id="fName" value="# contact.firstName" /> </td>
<td> <s:property id="lName" value="# contact.lastName" /> </td>
<td> <s:property id="PNumber" value="# contact.PhoneNumber" /> </td>
<td> <s:property id="emailAddr" value="# contact.emailAddress" /> </td>
<td>
editContact </td>
</tr>
Thanks
Reddy