updating value for Gender in database,
July 20, 2007 at 7:27 PM
Hi all I am a biggener for servlet and jsp.I have done a program which consist a servlet,html page.Here client fills the information like name,age and gender.It must update in database.Name and age is comming properly in database.Bur for jender its updating as 'female' only even i select 'male' using radio button. this is the code i wrote for radio button validation if("Gender".equals("checked")) ps.setString(3,"Female"); else ps.setString(3,"Male");