今日代码:equals Integer与integer.parseInt() jsp计数
关于equals判断的对象值不能为null <% String str=request.getParameter("rdChoice"); if (str==null) //增加对str是否为null的检测 { str=""; } /*Integer */ int count=(Integer)application.getAttribute("hitCounter"); // if(count==null || count==0)
原创
2020-09-20 19:13:38 ·
793 阅读 ·
0 评论