thispage.jsp displays user id and name in a table format with radiobutton attached to each row....
while(enum.hasMoreElements())
{
String upid = (String)enum.nextElement();
String upname = (String)enum.nextElement();
%>
<tr>
<td>
<input type="radio" name="idradio" selected="false" value="<%= upid %>" />
</td>
<td>
<% out.println(upid);%> </td>
<td>
<%out.println(upname);%> </td>
</tr>
<%}
%>
nextpage.jsp needs to display selected id and name value in two separate textboxes...
<%
String id1 = request.getParameter("idradio");
String name1= request.getParameter("upname");
%>
<input type="textbox" name="AQC1_UID" value="<%= id1 %>" >
<input type="textbox" name="AQC1_USER_NAME" value="<%= name1%>">
I am able to get user id value but dont know how to take corresponding name value as radio button value is user id..
please help..thx