摘要: mysql默认存储引擎为MyISAM是不支持事务的, 需要设置为InnoDB模式 阅读全文
posted @ 2016-03-01 00:39 inseptember 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(3143) 评论(0) 推荐(0) 编辑
摘要: 最近在修改别人生成附件的程序,要在其基础上加上页眉页脚和水印,发现是用itext生成Rtf文件,试了以下几种方式来实现修改1、新建RtfHeaderFooter对象header,将页眉的图片以Image的形式加入header,并将header加入document,页脚footer也一样,但水印没办法加2、放弃了方法一,使用RtfWriter2的importRtfDocument方法,将已经做好带有页面页脚水印的Rtf文件当做模版引入document,发现只有水印被引入了,页眉页脚没有,无语3、综合方法一二,引入做好的模板(只有水印),然后用方法一,将页眉页脚加入document,发现水印没了, 阅读全文
posted @ 2013-11-20 14:28 inseptember 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: for(var i in data){ } i表示对象中的key 阅读全文
posted @ 2013-10-21 15:11 inseptember 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(184) 评论(0) 推荐(0) 编辑
摘要: (文章来源一个日本鬼子)<!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 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(214) 评论(0) 推荐(0) 编辑