摘要:
在web.xml中通过contextConfigLocation配置spring,contextConfigLocation参数定义了要装入的 Spring 配置文件。如果想装入多个配置文件,可以在 <param-value>标记中用逗号作分隔符。在web.xml里配置Listener xml 代码 阅读全文
摘要:
Java代码 //泛型代码 public class Pair<T>{ private T first=null; private T second=null; public Pair(T fir,T sec){ this.first=fir; this.second=sec; } public T 阅读全文