2010年4月25日

ssh2配置文件

摘要: 1:web.xml<?xml version="1.0" encoding="UTF-8"?><web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:... 阅读全文

posted @ 2010-04-25 12:28 sdh 阅读(662) 评论(0) 推荐(0)

java操作LDAP

摘要: SUNOne: 1.连接 import java.util.Hashtable; import javax.naming.Context; import javax.naming.NamingException; import javax.naming.directory.DirContext; import javax.naming.directory.InitialDirContext;... 阅读全文

posted @ 2010-04-25 12:25 sdh 阅读(588) 评论(0) 推荐(0)

MyEclise6.5注册码

摘要: myeclipse 6.5 注册号 sn2008-06-05 23:03好像不支持 struts2在迅雷找到得一个下载地址http://downloads4.myeclipseide.com/downloads/products/eworkbench/6.5M1/MyEclipse_6.5M1.exe网上找得注册码(没有试过),注册时要断网啊:Subscriber:QQ24785490 Subsc... 阅读全文

posted @ 2010-04-25 12:24 sdh 阅读(386) 评论(0) 推荐(0)

ssh配置文件

摘要: 1.web.xml <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param> <servlet>... 阅读全文

posted @ 2010-04-25 12:23 sdh 阅读(134) 评论(0) 推荐(0)

json+struts2

摘要: struts.xml<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN""http://struts.apache.org/dtds/struts-2.0.dtd"><... 阅读全文

posted @ 2010-04-25 12:21 sdh 阅读(126) 评论(0) 推荐(1)

经典sql

摘要: --查找重复记录select a.* from stu as a,(select name,pwd from stu group by name,pwd having count(*)>1) b where a.name = b.name and a.pwd = b.pwd--查找未重复记录select a.* from stu as a,(select name,pwd from stu ... 阅读全文

posted @ 2010-04-25 12:20 sdh 阅读(120) 评论(0) 推荐(0)

Spring MVC乱码

摘要: 用spring提供的过虑器,在web.xml里加 <filter><filter-name>Set Character Encoding</filter-name><filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class><i... 阅读全文

posted @ 2010-04-25 12:18 sdh 阅读(534) 评论(0) 推荐(0)

HIbernate set 排序

摘要: hibernate 中对set对象的两种配置方法:(一)使用order-by对set排序,只需要修改set设置:<set name="standards" ... order-by="st_id desc" > ...</set> 阅读全文

posted @ 2010-04-25 12:18 sdh 阅读(333) 评论(0) 推荐(0)

Apach+Tomcat

摘要: Apach + Tomcat 准备工作: 1、 apache 2.0.55 下载地址:http://apache.justdn.org/httpd/binaries/win32/apache_2.0.55-win32-x86-no_ssl.msi 2、 Tomcat 5.5 下载地址:http://tomcat.apache.org/download-55.cgi 3、 JRE1.5.0 upda... 阅读全文

posted @ 2010-04-25 12:16 sdh 阅读(419) 评论(0) 推荐(0)

让网页文字和图片变灰(哀悼时有用)

摘要: 在styel里面加如下几句,flash不行。body{ filter:gray;}img{ filter:gray;} 阅读全文

posted @ 2010-04-25 12:13 sdh 阅读(142) 评论(0) 推荐(0)

导航