例如:
在表示层页面 <input type=check name=ck value=ok>
可以在jsp里这么判断
if(request.getParameter("ck")!=null)//选中的代码
{
}else//没选中的代码
{}
例如:
在表示层页面 <input type=check name=ck value=ok>
可以在jsp里这么判断
if(request.getParameter("ck")!=null)//选中的代码
{
}else//没选中的代码
{}