Hi is there a way to save the selected radio box value into a session variable so that i can retrieve it and display on next page?..the selected value is displayed on the page but after navigation it shows the last value and not the selected one..
String upid = (String)enum.nextElement();
String upname = (String)enum.nextElement();
myupbean=(UpBean)session.getAttribute("MyBean");
myupbean.setUid(upid);
myupbean.setUname(upname);
session.setAttribute("MyBean",myupbean);
value to be displayed in this page...
String id1 = request.getParameter("idradio");
String name1= request.getParameter("namerad");
if(id1 == null && name1 == null){
myupbean=(UpBean)session.getAttribute("MyBean");
if(myupbean != null) {
id1=myupbean.getUid();
name1=myupbean.getUname();
myupbean.setUid(id1);
myupbean.setUname(name1);
session.setAttribute("MyBean",myupbean);
}
else {
id1= "";
name1="";
}
}
%>
input type="textbox" name="AQC1_UID" value="<%= id1 %>" >
di i need to use arrayList and what is the usage like?..ive looked up bt dont find much help..thx..