ITeye博客

风筝

彭自荣 · 共 5 篇文章

apache + resin linux 环境配置

apache + resin linux 环境配置 参考 http://www.chinaunix.net/jh/13/488469.html http://www.qqread.com/network/server/e226679.html 一、安装resin 1.下载resin-3.1.9.tar.gz 2.tar zxvf resin-3.1.9.tar.gz mv -r resin-3.1.9 /usr/java/ 3.cd resin* 4../configure 5.make 6.make install 二、安装apache 1.下载httpd-2.2.6.tar.bz2 2.…

2009-12-11 23:23 · 评论(1)

定时器

代码: import java.text.SimpleDateFormat; import java.util.Timer; import java.util.TimerTask; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; public class TimeJobDemo implements ServletContextListener{ Timer timer; public void contextDestroyed(ServletContextEvent…

2009-08-05 15:03 · 评论(1)

java 加密解密 示例

import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.security.Key; import java.security.MessageDigest; import javax.crypto.Cipher; import ja…

2008-05-23 13:09 · 评论(3)

替换字符串中的“独立字符”

package com.metasoft.framework.si.eai.db; import java.util.HashSet; import java.util.Iterator; import com.metasoft.framework.si.eai.parse.FieldMapping; import com.metasoft.framework.si.eai.parse.TableMapping; import com.metasoft.framework.si.eai.parse.TableMappingHelper; /** * * @author zr.peng * @…

2008-04-15 18:10 · 评论(1)

xml文件相关操作

enum.xml <root> <enum name="emtype"> <des>类型</des> <item> <from>4028808f044f871201045025b4180900</from> <to></to> <des>公司统一采购</des> </item> <item> <from>4028808f044f871201045025e2050902</from> <to></to> <des>部门采购</des> </item> <item> <from>4028808f044f871201045025f9740904</from> <to></to> <des>特殊采购…

2008-04-15 17:53 · 评论(0)