摘要: 对于系统提升的一些小细节:(包括平时的成长) 1,创建集合,如果已知具体长度,就写下具体,因为默认数组创建10个长度,多了的话非常消耗内存空间; 2,try-catch:整个项目运行下来,只用一个try-catch捕获,在preHandler,afterHandler处理,其他情况全部是用返回类型来 阅读全文
posted @ 2017-12-27 17:34 JackWuhu 阅读(163) 评论(0) 推荐(0) 编辑
摘要: type为number的input标签输入小数的方法 方法如下: 方法如下: <input type="number" step="0.01" /> 在input标签中添加step属性,此例子中将step设为”0.01”,即可以输入含两位小数的数字。(仅输入含一位小数或整数也可) 可以自行修改ste 阅读全文
posted @ 2017-12-27 08:30 JackWuhu 阅读(1228) 评论(0) 推荐(0) 编辑
摘要: 修改某个表里的字段 update 表 SET 字段 = replace(字段 ,"A001","1001"); SQL里对时间日期的一些操作: SELECT NOW();//2018-02-09 16:26:06 SELECT CURDATE();//2017-02-03 SELECT CURREN 阅读全文
posted @ 2017-12-22 16:24 JackWuhu 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 记录 bootstrapvalidator校验、校验清除重置 阅读全文
posted @ 2017-12-21 09:51 JackWuhu 阅读(1484) 评论(0) 推荐(0) 编辑
摘要: 错误一:error: failed to push some refs to 'git@github.com:....." Updates were rejected because the remote contains work that you do not have locally. Thi 阅读全文
posted @ 2017-12-06 18:09 JackWuhu 阅读(257) 评论(0) 推荐(0) 编辑
摘要: http://tool.oschina.net/apidocs/apidoc?api=jdk-zh 地址 http://tool.oschina.net/apidocs/apidoc?api=jdk-zh 阅读全文
posted @ 2017-12-05 16:48 JackWuhu 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 以下是个人中学习过程中对struts2的一些理解,有不对的地方大家多多提出指正,小弟拜谢! 解析MyStruts.xml文件的过程:需要几个核心类:包括StrutsInfo类,用来装struts标签里的属性参数name、class、method,还需要一个集合用来装result标签里的属性,所以需要 阅读全文
posted @ 2017-07-29 15:03 JackWuhu 阅读(503) 评论(0) 推荐(0) 编辑
摘要: The import java.util cannot be resolved The import javax.servlet cannot be resolved The import java.util cannot be resolved 原因:这是由于你的项目buildpath不对 解决方 阅读全文
posted @ 2017-06-28 19:52 JackWuhu 阅读(215) 评论(0) 推荐(0) 编辑
摘要: HashSet的存储原理: 1、将要传入的数据根据系统的hash算法得到一个hash值; 2、根据hash值可以得出该数据在hash表中的位置; 3、判断该位置上是否有值,没有值则把数据插入进来;如果有值则再次判断传入的值与原值是否地址或equals相同,如果相同则不存,否则通过链表的方式 存储到该 阅读全文
posted @ 2017-06-26 17:46 JackWuhu 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sat J 阅读全文
posted @ 2017-06-24 11:00 JackWuhu 阅读(221) 评论(0) 推荐(0) 编辑