自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(11)
  • 资源 (1)
  • 收藏
  • 关注

翻译 iReport输出byte[]型image 以及iReport的if else

iReport输出byte[]型image:If your field will have a byte[] as value, you need to declare the field as java.lang.Object and then cast it in your image expression如果你的image是byte[]类型,iReprot中对应的field应设为

2012-03-16 12:47:48 2420

转载 Hibernate枚举映射

Hibernate枚举映射 利用Hibernate Annotation 进行枚举映射。@Enumerated(EnumType.STRING) 要是映射到hbm.xml中,                         org.nesta.Session$State             4             type是4代表整形, 12代表

2011-12-28 16:51:25 486

转载 linux dd命令参数及用法详解---用指定大小的块拷贝一个文件

linux dd命令使用详解dd 的主要选项:指定数字的地方若以下列字符结尾乘以相应的数字:b=512, c=1, k=1024, w=2, xm=number mif=file输入文件名,缺省为标准输入。of=file输出文件名,缺省为标准输出。ibs=bytes一次读入 bytes 个字节(即一个块大小为 bytes 个字

2011-11-30 09:53:29 635

转载 aptitude 使用快速参考

aptitude 与 apt-get 一样,是 Debian 及其衍生系统中功能极其强大的包管理工具。与 apt-get 不同的是,aptitude 在处理依赖问题上更佳一些。举例来说,aptitude 在删除一个包时,会同时删除本身所依赖的包。这样,系统中不会残留无用的包,整个系统更为干净。以下是笔者总结的一些常用 aptitude 命令,仅供参考。命令作用apt

2011-11-29 16:34:38 311

原创 FireFox下 event is not defined.

解决FireFox下event is not defined.onkeydown="doSearch(event)"function doSearch(e){    var code;    if (!e) var  e = window.event;    if (e.keyCode) code = e.keyCode;    else if (e.whi

2011-10-26 14:26:18 938

转载 The reference to entity "characterEncoding" must end with the ';' delimiter

<br />Caused by: org.xml.sax.SAXParseException: The reference to entity "characterEncoding" must end with the ';' delimiter.<br /><br /><br /><br />JPA persistence xml 中报错的写法:<br /><property name="hibernate.connection.url" value="jdbc:mysql://localhost:330

2011-05-14 09:51:00 2665 2

原创 FormCheck.js

/************************************************* 表单校验: *************************************************/function is_Empty(ve){    //空值交验:空返回 true 否则返回 false    if(ve.length > 0){        return fals

2010-05-13 09:11:00 759

原创 strrequest

 private String strrequest(String input){//返回big5码/并将特殊符号转化 if(input!=null){    try   {   //  public static String replaceHTML(String input)  char ch= ; StringBuffer buf=new StringBuffer(input.len

2010-03-08 11:52:00 477

原创 selete all

//selete all function SelectTest(){  if(document.tempform.Select){   if(isNaN(document.tempform.Select.length)){    if(document.tempform.SelectAll.checked==true) document.tempform.Select.checked=true;

2010-03-06 15:56:00 631

原创 MyTool

 package com;import java.io.*;import java.math.BigDecimal;import java.sql.Date;import java.text.DateFormat;import java.text.SimpleDateFormat;import javax.servlet.ServletRequest;import javax.serv

2010-03-03 10:50:00 742

原创 dateToStr and strToDate

 public static Date strToDate(String s)    {        java.sql.Date date = null;        try        {            date = Date.valueOf(s);        }        catch(Exception exception)        {            dat

2010-03-03 10:46:00 611

c3p0-0.9.0.4.jar

c3p0-0.9.0.4.jar 配置c3p0连接池

2011-11-03

空空如也

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

TA关注的人

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