2008-12-17 8:48:36 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:/Program Files/Java/jdk1.6.0_10/bin;D:/Program Files/tomcat-6.0.18/bin
2008-12-17 8:48:37 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2008-12-17 8:48:37 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 7535 ms
2008-12-17 8:48:38 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2008-12-17 8:48:38 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2008-12-17 8:48:45 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2008-12-17 8:48:45 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-default.xml]
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-plugin.xml]
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts.xml]
2008-12-17 8:48:52 org.apache.struts2.config.Settings getLocale
警告: Settings: Could not parse struts.locale setting, substituting default VM locale
2008-12-17 8:48:52 org.apache.struts2.config.BeanSelectionProvider register
信息: Loading global messages from message
2008-12-17 8:48:54 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
信息: Setting DefaultObjectTypeDeterminer as default ...
2008-12-17 8:48:54 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2008-12-17 8:48:55 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2008-12-17 8:48:55 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=15/110 config=null
2008-12-17 8:48:55 org.apache.catalina.startup.Catalina start
信息: Server startup in 17391 ms
解决方法(有两种):
1、src/struts.properties文件中如下配置: 如果没有struts.properties文件则创建,
在此文件下加入struts.locale=en_GB即可解决问题,已经尝试,好使!
2、在struts.xml中如下配置;
<constant name="struts.locale" value="en_GB" />