写个main方法 try
{
ApplicationContext cont = new ClassPathXmlApplicationContext("applicationContext.xml");
}
catch(Exception e)
{
System.out.println(e.getMessage());
}读配置文件你就知道事什么错了
{
ApplicationContext cont = new ClassPathXmlApplicationContext("applicationContext.xml");
}
catch(Exception e)
{
System.out.println(e.getMessage());
}读配置文件你就知道事什么错了
还有再次检查一下路径。
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/spring/applicationContext.xml" />
</plug-in> 用 action里面指定
type="org.springframework.web.struts.DelegatingActionProxy"