文章列表
<?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
- 浏览 989
- 评论(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
- 浏览 977
- 评论(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
- 浏览 1680
- 评论(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
- 浏览 1769
- 评论(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
- 浏览 1350
- 评论(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
- 浏览 1201
- 评论(0)