Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to transfer the values retrieved on page Display.jsp to getIn.jsp.Like on click of hyperlink,that selected row data will populate in getIn.jsp.
----------------------------------------------------------------------
Display.jsp
--------------------------------------------------------------------------
</head>

<body>

<table width="500" border="1" ><tbody>
<tr><td>EmpNo.</td><td>EmpName</td><td>Age</td><td>Department</td><td>City</td><td>Gender</td></tr>
<logic:iterate name="getInForm" property="empList" id="empList">
<tr>
<td><a href="<%=request.getContextPath()%>/carryValue.do"> <bean:write name="empList" property="num"/> </a> </td>
<td> <bean:write name="empList" property="name"/> </td>
<td> <bean:write name="empList" property="age"/> </td>
<td> <bean:write name="empList" property="dept"/> </td>
<td> <bean:write name="empList" property="city"/> </td>
<td> <bean:write name="empList" property="gender"/></td>
</tr>
</logic:iterate>
</tbody></table>
</body>


-----------------------------------------------------------------------
getIn.jsp
-----------------------------------------------------------------------


<h4>Registration Form</h4>
<form >
EmpNo : &nbsp; &nbsp; <html:text property="num" name="getInForm"/><br><br>
EmpName : <html:text property="name" name="getInForm"/><br><br>
Age : &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <html:text property="age" name="getInForm"/><br><br>
Dept : <html:select property="dept" name="getInForm" value="Java"><html:option key="1" value="Java" /><html:option key="2" value=".Net" /><html:option key="3" value="Mainframe" /></html:select>
City : <html:select property="city" name="getInForm" value="Mysore"><html:option key="1" value="Mysore" /><html:option key="2" value="Bangalore" /><html:option key="3" value="Mangalore" /></html:select> <br><br>
Gender : <html:radio property="gender" value="M" name="getInForm">Male</html:radio>
<html:radio property="gender" value="F" name="getInForm">Female</html:radio>
<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;<input type="button" value="Save" onclick="javacript:goAhead()"/>&nbsp;&nbsp;&nbsp;<input type="button" value="Refresh" onclick="javacript:goBack()"/>
</form >

------------------------------------------------------------------------

how to populate that data in appropriate fields in getIn.jsp ?
Posted
Updated 20-Jan-10 3:50am
v4

1 solution

Question is dead as it's probably been fixed by now.
 
Share this answer
 
Comments
Sandeep Mewara 7-Apr-11 12:51pm    
Why answering such old questions? Where from you are finding them?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900