posted 19 years ago
You can use Shailesh's with changing value of param1 to "true" or "false"
before submitting the form,or use alternate as
<input type=checkbox name=param1> // This will be placed in Form
and in Servlet chek it as
boolean b=false;
if(request.getParameter("param1")!=null)
b=true;
NOTE:- if checkbox is not selected then request.getParameter("param1") will return null
Hope This Helps
Cheers
-Praful
All desirable things in life are either illegal, banned, expensive or married to someone else !!!