首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

java靠山较验checkbox提交值

2012-11-03 
java后台较验checkbox提交值String dontShow (String)request.getParameter(dontShow)if(StringUtil.

java后台较验checkbox提交值

String dontShow = (String)request.getParameter("dontShow");if(StringUtil.isNotBlank(dontShow)&& (dontShow.equalsIgnoreCase("true") || dontShow.equalsIgnoreCase("on") ||                    dontShow.equalsIgnoreCase("yes") || dontShow.equals("1"))){}

热点排行