摘要: 邻食 阅读全文
posted @ 2015-08-27 19:55 友森 阅读(465) 评论(0) 推荐(0)
摘要: <!doctype html><html><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="view 阅读全文
posted @ 2015-08-27 19:54 友森 阅读(394) 评论(0) 推荐(0)
摘要: 如果你用过Visual Studio的自动补全功能后,再来用eclipse的自动补全功能,相信大家会有些许失望。 但是eclipse其实是非常强大的,eclipse的自动补全没有VS那么好是因为eclipse的补全功能用的是默认设置。你只需要稍微修改一下就行了。 最简单的修改方式是:Windows— 阅读全文
posted @ 2015-08-26 14:46 友森 阅读(157) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-08-21 18:31 友森 阅读(3) 评论(0) 推荐(0)
摘要: 1、用户的解锁 用户因多次登录失败而被锁的情况下,可用faillog命令来解锁。具体如下:faillog -u 用户名 -r此命令实行后,faillog里记录的失败信息即被重置,用户又可用了。2、查看tomcat运行日志 tail -f catalina.out3、查看线程netstat -ptln 阅读全文
posted @ 2015-08-21 16:38 友森 阅读(498) 评论(0) 推荐(0)
摘要: 1、要在 ckeditor的 config.js 文件中加上 CKEDITOR.editorConfig = function( config ) { config.filebrowserImageUploadUrl = 'ckEditImageUpload';//上传图片的接口}; 2、实现上传接 阅读全文
posted @ 2015-08-17 14:18 友森 阅读(454) 评论(0) 推荐(0)
摘要: // step5: 生成静态化html FileOutputStream fos = null; PrintStream printStream = null; StringBuilder sb = new StringBuilder(); try { File dest = new File(Co 阅读全文
posted @ 2015-08-17 14:06 友森 阅读(513) 评论(0) 推荐(0)
摘要: 项目使用的数据库是mysql 持久层框架是hibernate 利用SQLQuery 获取日期的时候缺少时分秒 将 .addScalar("dealTS",StandardBasicTypes.DATE) 改成 .addScalar("dealTS",StandardBasicTypes.TIMEST 阅读全文
posted @ 2015-08-17 13:53 友森 阅读(1745) 评论(0) 推荐(0)
摘要: @RequestMapping(value = "callbackAlipay", method = RequestMethod.POST) @ResponseBody public ResponseEntity<?> callbackAlipay( @RequestParam(value = "d 阅读全文
posted @ 2015-07-10 18:02 友森 阅读(992) 评论(0) 推荐(0)
摘要: select * from table1 where larq between(to_date('2008-9-3','yyyy-mm-dd')) and (to_date('2008-9-5','yyyy-mm-dd')) 2.select * from table1 where larq>=to 阅读全文
posted @ 2015-07-08 10:46 友森 阅读(2546) 评论(0) 推荐(0)