含雪幸福

导航

 

2015年4月15日

摘要: 使用过程中的一积累,备查。EasyUI 验证框使用方法://***************************missingMessage:未填写时显示的信息validType:验证类型见下示例invalidMessage:无效的数据类型时显示的信息required="true" 必填项clas... 阅读全文
posted @ 2015-04-15 17:01 含雪幸福 阅读(364) 评论(0) 推荐(0)
 

2015年4月14日

摘要: 当执行批量删除时,若删除表的主键是varchar类型的可以存储字符型作为主键,如:sds当在删除时,咱们一般的,是删除不掉的,只能删除数字的,如:1方法:::::思路: 给前台页面传来的id,加个单引号,然后,再执行删除操作,就能成功删除了代码:StringBuffer sb=new StringB... 阅读全文
posted @ 2015-04-14 19:27 含雪幸福 阅读(291) 评论(0) 推荐(1)
 

2015年3月31日

摘要: HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.ex... 阅读全文
posted @ 2015-03-31 19:01 含雪幸福 阅读(2518) 评论(0) 推荐(0)
 

2015年3月5日

摘要: /判断输入内容是否为空function IsNull(){ var str = document.getElementById('str').value.trim(); if(str.length==0){ alert('对不起,文本框不能为空或者为空格!');//请将“文本框”改成你需要验证的... 阅读全文
posted @ 2015-03-05 19:15 含雪幸福 阅读(405) 评论(0) 推荐(0)
 
摘要: java 中取整操作提供了四种方法:分别是:public static double ceil(double a)//向上取整public static double floor(double a)//向下取整public static long round(double a)//四舍五入取整pub... 阅读全文
posted @ 2015-03-05 11:58 含雪幸福 阅读(130297) 评论(0) 推荐(1)
 

2015年3月4日

摘要: 错误:org.apache.jasper.JasperException: /front/orderList.jsp(110,122) equal symbol expected')">struts2标签不能嵌套使用,应改为" />//将此变为可以回显的修改为: 阅读全文
posted @ 2015-03-04 11:16 含雪幸福 阅读(1363) 评论(0) 推荐(0)
 

2015年2月24日

摘要: text-align:center 水平居中显示[html] view plaincopyprint? 阅读全文
posted @ 2015-02-24 22:45 含雪幸福 阅读(29000) 评论(0) 推荐(1)
 
摘要: Jquery遮罩层弹出层关闭我是弹出对话框111111!!弹出层关闭我是弹出对话框2222!!弹出层关闭我是弹出对话框3333333!! 阅读全文
posted @ 2015-02-24 19:44 含雪幸福 阅读(241) 评论(0) 推荐(0)
 

2015年2月23日

摘要: 切换图片 阅读全文
posted @ 2015-02-23 21:09 含雪幸福 阅读(296) 评论(0) 推荐(0)
 
摘要: 文字超链接 文本框下面可以加个按钮吗?按钮跟输入框放在一个DIV里面啦Bom对象 文字超链接 阅读全文
posted @ 2015-02-23 20:55 含雪幸福 阅读(5164) 评论(0) 推荐(0)
 
 
/*生成博客目录的CSS*/ #uprightsideBar{ font-size:12px; font-family:Arial, Helvetica, sans-serif; text-align:left; position:fixed;/*将div的位置固定到距离top:50px,right:0px的位置,这样div就会处在最右边的位置,距离顶部50px*/ top:50px; right:0px; width: auto; height: auto; } #sideBarTab{ float:left; width:30px; border:1px solid #e5e5e5; border-right:none; text-align:center; background:#ffffff; } #sideBarContents{ float:left; overflow:auto; overflow-x:hidden;!important; width:200px; min-height:108px; max-height:460px; border:1px solid #e5e5e5; border-right:none; background:#ffffff; } #sideBarContents dl{ margin:0; padding:0; } #sideBarContents dt{ margin-top:5px; margin-left:5px; } #sideBarContents dd, dt { cursor: pointer; } #sideBarContents dd:hover, dt:hover { color:#A7995A; } #sideBarContents dd{ margin-left:20px; }