文章列表
<?xml version="1.0"?>
<project name="janson" basedir="." default="war">
<property environment='env'/>
<property name="app.name" value="framework30" />
<property name="framework30.dir" valu ...
- 2009-04-08 09:46
- 浏览 994
- 评论(0)
ClassLoader Test
- 博客分类:
- JAVA
public static void main(String[] args) {
String pkgs = "com";
loadByClassLoader(pkgs);
//loadByResolverUtil();
}
public static void loadByResolverUtil(String pkgs){
ResolverUtil<Class> resolver = new ResolverUtil<Class>();
resolver.findInPackage(new Test() { ...
- 2009-04-08 09:44
- 浏览 980
- 评论(0)
<bean id="dataSource"
class="org.logicalcobwebs.proxool.ProxoolDataSource">
<property name="driver">
<value>net.sourceforge.jtds.jdbc.Driver</value>
</property>
<property name=& ...
- 2009-04-08 09:43
- 浏览 1683
- 评论(0)
直接贴代码吧.我不知道该归于SPRING呢,还是STURTS
SPRING 2.0.8
struts-2.0.11.1
<aop:config>
<aop:aspect id="logAspect" ref="logBean">
<aop:pointcut id="loggableCalls" expression="execution(* cn.com.hr.action..*.*(..))" />
<aop:after pointcut-ref="lo ...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans default-autowire="byName">
<bean id="dataSourc ...
- 2006-04-28 16:02
- 浏览 1774
- 评论(0)
<hibernate-configuration>
<session-factory>
<!-- local connection properties -->
<property name="hibernate.connection.url">
jdbc:mysql://localhost/msgbook?useUnicode=true&characterEncoding=utf-8
</property>
...
- 2006-04-28 16:02
- 浏览 1360
- 评论(0)
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" "http://www.opensymphony.com/xwork/xwork-1.0.dtd">
<xwork>
<package name="com.aurora.netschool.artic ...
- 2006-04-28 15:57
- 浏览 1206
- 评论(0)