Hi All,
I have a HTML table that displays employeeID, FirstName and LastName only. I made the employeeID field in each row as document link to a URL so that when the employeeID field was click, it will forward the browser to a next
JSP that will completely display the Person Information (e.g. Age, Birthday etc..)
Is there a way that I could retrieve what row was click in an HTML table so that I could use the details of the row and use it as an attribute in my JSP.
<jsp:useBean id="personUserName" class="com.bdo.User" scope="request" />
<jsp:setProperty name="personUserName" property="employeeID " param="myTable"/>
Your user Name is: ${personUserName.employeeID}
The param="myTable" refers to the table name. It could have been easier if I let the user enter the employeeID in a text box and use the param attribute="textboxname".
I dont know if i'm doing things right. Please help. I am trying to learn JSP thru web tutorials. Thanks