只为成功找方法,不为失败找理由。

博客园 首页 新随笔 联系 订阅 管理

2015年4月14日 #

摘要: function Login() { $.ajax({ //提交方式 type:"POST", //处理Action url:"login.action", //提交参数 data:{userName:$("#username").val(),userPwd:$("#userpwd").val... 阅读全文
posted @ 2015-04-14 16:13 诗意的活着 阅读(276) 评论(0) 推荐(0) 编辑

摘要: public static int lastDayOfMonth(int year, int month) { if (month == 2) { if (isLeapYear(year)) { return 29; } return 28; } if ((month == 1) || (month... 阅读全文
posted @ 2015-04-14 15:33 诗意的活着 阅读(186) 评论(0) 推荐(0) 编辑

摘要: double serviceability =(double)(count1+count2)/sum;需要进行强转 除数 这样得到的值就是double类型了 阅读全文
posted @ 2015-04-14 15:28 诗意的活着 阅读(2258) 评论(0) 推荐(0) 编辑