会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
inseptember
博客园
首页
新随笔
联系
订阅
管理
2016年3月1日
碰到的Spring 事务无效
摘要: mysql默认存储引擎为MyISAM是不支持事务的, 需要设置为InnoDB模式
阅读全文
posted @ 2016-03-01 00:39 inseptember
阅读(132)
评论(0)
推荐(0)
2014年8月16日
boolean与byte的互转
摘要: public static byte[] toBytes(boolean[] arrs){ int f = 0;byte b = 0; byte[] ret = new byte[arrs.length/7 + (arrs.length%7==0?0:1)]; ...
阅读全文
posted @ 2014-08-16 22:36 inseptember
阅读(3214)
评论(0)
推荐(0)
2013年11月20日
itext 编辑Rtf文件笔记
摘要: 最近在修改别人生成附件的程序,要在其基础上加上页眉页脚和水印,发现是用itext生成Rtf文件,试了以下几种方式来实现修改1、新建RtfHeaderFooter对象header,将页眉的图片以Image的形式加入header,并将header加入document,页脚footer也一样,但水印没办法加2、放弃了方法一,使用RtfWriter2的importRtfDocument方法,将已经做好带有页面页脚水印的Rtf文件当做模版引入document,发现只有水印被引入了,页眉页脚没有,无语3、综合方法一二,引入做好的模板(只有水印),然后用方法一,将页眉页脚加入document,发现水印没了,
阅读全文
posted @ 2013-11-20 14:28 inseptember
阅读(1094)
评论(0)
推荐(0)
2013年10月21日
JS 循环遍历JSON数据
摘要: for(var i in data){ } i表示对象中的key
阅读全文
posted @ 2013-10-21 15:11 inseptember
阅读(241)
评论(0)
推荐(0)
2013年9月17日
Maven 笔记
摘要: 1、maven-war-plugin貌似只有2.0.2的版本能exlude,不知道怎么回事,写法如下 org.apache.maven.plugins maven-war-plugin 2.0.2 ...
阅读全文
posted @ 2013-09-17 15:51 inseptember
阅读(211)
评论(0)
推荐(0)
2013年1月11日
lesson2 简单的Animation
摘要: Technorati 标签: Three.js 1、旋转物体与相机 objectName.rotation.set( theta_x, theta_y, theta_z ); 或 Object.name.rotation.x = theta_x; Object.name.rotation.y = theta_y; Object.name.rotation.z = theta_...
阅读全文
posted @ 2013-01-11 16:05 inseptember
阅读(192)
评论(0)
推荐(0)
2013年1月10日
Three.js lesson 1 建立一个球体
摘要: (文章来源一个日本鬼子)<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>Three.js Lesson</title> <!--引入Three.js--> <script src="../src/Three.js"></script> <style type="text/css"> div#canvas3d{ border: none; curso
阅读全文
posted @ 2013-01-10 09:40 inseptember
阅读(552)
评论(0)
推荐(0)
2012年11月1日
OSGI 依赖的最基本插件
摘要: Juno (Eclipse 4.2) 的OSGI 依赖的最基本插件 为:org.eclipse.osgiorg.eclipse.equinox.consoleorg.apache.felix.gogo.runtimeorg.apache.felix.gogo.commandorg.apache.felix.gogo.shell
阅读全文
posted @ 2012-11-01 09:24 inseptember
阅读(222)
评论(0)
推荐(0)
公告