摘要:
//在类路径下寻找配置文件来实例化容器 ApplicationContext ctx = new ClassPathXmlApplicationContext(new String[]{"beans.xml"}); //在类路径下寻找配置文件来实例化容器 ApplicationContext ctx = new FileSystemXmlApplicationContext(new String[]{"d:\\beans.xml"}); 阅读全文
posted @ 2013-12-11 16:47
我爱java2013
阅读(288)
评论(0)
推荐(0)
摘要:
方法1、在struts.xml文件中添加方法2、在web.xml中修改org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter为:org.apache.struts2.dispatcher.FilterDispatcher 阅读全文
posted @ 2013-12-10 14:30
我爱java2013
阅读(128)
评论(0)
推荐(0)
浙公网安备 33010602011771号