Struts 2框架有两个核心配置文件,struts.xml和struts.properties,其中struts.xml文件主要负责管理应用中的Action映射,以及该Action包含的Result定义等。除此之外,Struts 2框架还包含一个struts.properties文件,该文件定义了Struts 2框架的大量属性,开发者可以通过改变这些属性来满足应用的需求。阅读全文>
发表于 @ 2007年10月05日 00:15:00|评论(loading...)|编辑|收藏
刚开始用struts2时,启动tomcat常会出现如下信息:
Warning:Could not parse struts.locale setting, substituting default VM locale
阅读全文>
发表于 @ 2007年10月05日 00:01:00|评论(loading...)|编辑|收藏
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from resource [/WEB-INF/applicationContext.xml] of ServletContext; nested exception is java.io.FileNotFoundException: Could not open resource [/WEB-INF/applicationContext.xml] of ServletContext
java.io.FileNotFoundException: Could not open resource [/WEB-INF/applicationContext.xml] of ServletContext
阅读全文>
发表于 @ 2007年10月03日 20:53:00|评论(loading...)|编辑|收藏