zac110的博客
zac110 · 共 83 篇文章
xfire+spring 配置
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.…
2011-07-08 16:05 · 评论(0)
java+动态代理
package com.test; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.List; import java.util.Vector; public class VectorProxy implements InvocationHandler { private Object targetObj; public Object getTargetObj(){ return targe…
2011-07-06 11:04 · 评论(0)
ssh 配置信息
applicationContent.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="htt…
2011-07-06 09:29 · 评论(0)
urlrewritefilter
http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/3.2/index.html
2011-01-17 11:20 · 评论(0)
网页右键屏蔽
<html> <head> <body> <script language="JavaScript"> <!-- if (window.Event) document.captureEvents(Event.MOUSEUP); function nocontextmenu() { event.cancelBubble = true event.returnValue = false; return false; } function norightclick(e) { if (window.Event) { if (e.which == 2 || e.which == 3) return f…
2011-01-17 09:40 · 评论(0)
java中四种操作xml方式的比较
四种xml操作方式的基本使用方法 xml文件: <?xml version="1.0" encoding="GB2312"?> <RESULT> <VALUE> <NO>A1234</NO> <ADDR>四川省XX县XX镇XX路X段XX号</ADDR> </VALUE> <VALUE> <NO>B1234</NO> <ADDR>四川省XX市XX乡XX村XX组</ADDR> </VALUE> </RESULT> 1)DOM import java.io.*; import java.util.*; import org.w3c.dom.*; import javax.xml.parsers.*…
2010-12-22 14:42 · 评论(0)
转 JS图片特效【鼠标放在小图上显示大图】
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>JS图片特效</title> <style type="text/css" media="screen"> div#PreviewBox{ position:absolute; padding-left:6px; display: none; Z-INDEX:2006; } div#PreviewBox span{ width:7px; height:13px; position:absolute; left:0p…
2010-12-21 13:12 · 评论(0)