摘要: 两个都是接续助词,但用法有区别。“ だから” 纯粹表示原因,而“そこで”除表示原因外,还带有要去改变,解决存在问题的语义。可译为“于是”,如:风邪になりました、だから 食欲が少しもない。(此句不可用“そこで”)风邪になりました、そこで 病院へ医者を诊てもらいました。(此句虽用だから也可,但纯粹表示原 阅读全文
posted @ 2016-02-21 19:31 我是魏星星 阅读(1297) 评论(0) 推荐(0) 编辑
摘要: 1 @Repository 2 public class InitSmsThread implements ApplicationListener { 3 4 public void onApplicationEvent(ContextRefreshedEvent... 阅读全文
posted @ 2016-01-13 13:19 我是魏星星 阅读(349) 评论(0) 推荐(0) 编辑
摘要: http://www.micmiu.com/opensource/expdoc/itext-xml-worker-cn/ 阅读全文
posted @ 2016-01-11 20:47 我是魏星星 阅读(118) 评论(0) 推荐(0) 编辑
摘要: I.Pinball,1973 1.Every once in a while,things that happened just the day before would seem as far off as the year before, or things from the previous... 阅读全文
posted @ 2016-01-07 15:14 我是魏星星 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 有不少时候需要将后端传到前端的数据再次传回后端,从而避免二次查询。提高效率。 1.使用JSON.Stringify()方法,将JS对象JSON化传回后端。 2.后端使用Jackson来解析,然后从转换中的map中通过key得到相应的数据,进行强制转换即可。 ObjectMapper map... 阅读全文
posted @ 2016-01-04 14:16 我是魏星星 阅读(7177) 评论(0) 推荐(0) 编辑
摘要: ^.+(?<!\.txt)$ 阅读全文
posted @ 2015-12-17 13:58 我是魏星星 阅读(1838) 评论(0) 推荐(0) 编辑
摘要: function jQuery(){ return new jQuery.prototype.init();}jQuery.prototype.init = function(){ console.log("initializing");}jQuery.prototype.css = f... 阅读全文
posted @ 2015-12-17 10:06 我是魏星星 阅读(126) 评论(0) 推荐(0) 编辑
摘要: .overlay{ display: block; position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; background-color: black; ... 阅读全文
posted @ 2015-12-17 09:17 我是魏星星 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 1.在spring.xml中加入 classpath:/*.properties 2.在类的成员变量上直接加上注解@Value("#{configProperties['xxxxx']}"),这里configPro... 阅读全文
posted @ 2015-12-17 08:56 我是魏星星 阅读(1374) 评论(0) 推荐(0) 编辑
摘要: 本来想采用注解的方式,读配置文件来达到动态设置cron表达式,一直没能成功,改用XML方法配置1.在spring.xml配置要执行的定时器的类,这里为com.ndasec.web.core.quartz下的MessageTimer2.设置要执行的该类中的哪个方法,ref为上面bean的id,meth... 阅读全文
posted @ 2015-12-16 18:18 我是魏星星 阅读(2060) 评论(0) 推荐(0) 编辑