自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(2)
  • 资源 (1)
  • 收藏
  • 关注

原创 struts2上传下载

import org.apache.commons.io.FileUtils; // 文件上传 // 前台页面中选择一个文件,表单Action提交 得到后就拷贝的自定义的文件夹中  private String imageFileName       //得到路径名 get set  private File image;  //前台选择的文件 sbmit提交过来的

2014-06-18 13:49:01 352

转载 iBatis简单入门教程

iBatis简单入门教程 iBatis 简介: iBatis 是apache 的一个开源项目,一个O/R Mapping 解决方案,iBatis 最大的特点就是小巧,上手很快。如果不需要太多复杂的功能,iBatis 是能够满足你的要求又足够灵活的最简单的解决方案,现在的iBatis 已经改名为Mybatis 了。 官网为:http://www.mybatis.org/ 搭建iB

2014-06-18 10:59:01 379

完美运行版本的zookeeper-3.3.6

修改配置文件conf/zoo.cfg:设置dataDir=自己目录,该目录必须存在。 # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. dataDir=E:\java\zookeeper-3.3.6\data # the port at which the clients will connect clientPort=2181

2018-09-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除