`
radzhang
  • 浏览: 307818 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Struts用Tiles的tiles-config_2_1.dtd的问题

 
阅读更多

有一个struts项目,原来运行都正常,为了试验集群,安装了两个tomcat,然后tomcat启动一直报错,看到log里说有可能memory leak,查了老半天,内存也足够大,后来想到,原来项目里的tiles.xml的配置里tiles-config_2_1.dtd是放在tomcat的lib目录下的,是不是第二个tomcat因为目录换了,导致找不到tiles-config_2_1.dtd了。果断把tiles-config_2_1.dtd复制到项目的lib下。并修改tiles.xml的配置指向项目的lib。

然后重新启动tomcat一切正常了。

 

INFO: Initializing Coyote HTTP/1.1 on http-80

Dec 28, 2016 11:38:29 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 334 ms

Dec 28, 2016 11:38:29 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Dec 28, 2016 11:38:29 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.36

Dec 28, 2016 11:38:29 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor manager.xml

Dec 28, 2016 11:38:29 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor host-manager.xml

Dec 28, 2016 11:38:29 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor alpha.xml

[main]| INFO|[org.apache.tiles.impl.BasicTilesContainer]|23:38:29,772 | Initializing Tiles2 container. . .

[main]| INFO|[org.springframework.web.context.ContextLoader]|23:38:29,793 | Root WebApplicationContext: initialization started

[main]| INFO|[org.springframework.web.context.support.XmlWebApplicationContext]|23:38:29,822 | Refreshing Root WebApplicationContext: startup date [Wed Dec 28 23:38:29 CST 2016]; root of context hierarchy

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:29,869 | Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-db.xml]

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:29,937 | Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml]

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:30,000 | Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-action.xml]

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:30,126 | Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-bean.xml]

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:30,261 | Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-common-path.xml]

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:30,276 | Loading XML bean definitions from ServletContext resource [/WEB-INF/webservice.xml]

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:30,300 | Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:30,313 | Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml]

[main]| INFO|[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]|23:38:30,328 | Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]

[main]| INFO|[org.springframework.beans.factory.support.DefaultListableBeanFactory]|23:38:31,185 | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@49c4a5ec: defining beans [adminDataSource,adminTransactionManager,sqlMapClient,exceptionAdvice,exceptionAdvisor,debugInterceptor,loggingAutoProxy,filterChainProxy,httpSessionContextIntegrationFilter,unauthzLoginFilter,sessionInvalidateFilter,sessionManageFilter,loginFilter,redirectorFilter,securityContextHolderAwareRequestFilter,anonymousProcessingFilter,exceptionTranslationFilter,authnFilter,authnManager,authnProvider,userDetailsService,loginManageService,dbSessionManageService,sessionController,sessionRegistry,forbiddenLoginManager,accessDecisionManager,loginManageAuthenticationListener,messageSource,dbSessionManageDAO,userDAO,filterSecurityInterceptor,logoutFilter,loginErorAction,commonNoticeAction,logoutAction,homeAction,jsAction,loginInterceptor,popupAction,reportDownloadAction,fileUpDownloadAction,A01F01Action,A01F03Action,A01F05Action,A02F01Action,A02F02Action,A02F03Action,A02F04Action,A03F01Action,A03F02Action,A03F03Action,A09F01Action,A09F02Action,A10F01Action,A10F02Action,A10F03Action,A10F08Action,A10F09Action,A10F04Action,A10F16Action,A11F02Action,A13F02Action,A13F03Action,A13F04Action,A13F05Action,A14F01Action,A20F01Action,A20F04Action,A20F05Action,A18F01Action,A18F02Action,A19F01Action,A19F02Action,A19F03Action,A19F04Action,A17F01Action,A16F01Action,A16F02Action,A16F03Action,A16F04Action,A16F05Action,A17F02Action,B20F01Action,B20F02Action,B20F03Action,B20F04Action,B20F05Action,B02F01Action,B03F01Action,B04F01Action,B04F02Action,B04F03Action,B06F01Action,B06F02Action,B13F01Action,B13F02Action,B13F03Action,B07F01Action,B07F02Action,B07F03Action,B07F07Action,B07F08Action,B07F04Action,B07F14Action,B08F02Action,B10F01Action,B10F02Action,B10F10Action,B11F01Action,C01F01Action,C01F02Action,C01F03Action,C02F01Action,C03F01Action,C03F02Action,C03F03Action,C04F01Action,C04F02Action,C05F01Action,C05F02Action,C06F01Action,C06F02Action,C08F03Action,C08F05Action,C08F06Action,C08F07Action,C08F08Action,C08F09Action,C08F10Action,C08F14Action,C08F11Action,C11F01Action,C12F01Action,C12F02Action,C13F01Action,C13F02Action,C14F01Action,C14F02Action,C14F03Action,C20F01Action,C20F02Action,C20F04Action,C20F05Action,C09F01Action,C08F04Action,C08F15Action,C16F01Action,C16F02Action,C16F03Action,C16F04Action,C16F05Action,C17F01Action,C17F02Action,C18F01Action,C08F16Action,C08F17Action,D02F01Action,D02F02Action,D02F03Action,D02F04Action,D02F05Action,D02F06Action,D02F07Action,D02F09Action,D02F10Action,D02F11Action,D02F12Action,D02F18Action,D02F20Action,D02F21Action,D02F22Action,D02F23Action,D02F24Action,D02F25Action,D02F26Action,D03F01Action,D04F01Action,D06F01Action,B12F01Action,B12F02Action,B15F01Action,B16F01Action,B16F02Action,B16F03Action,B16F04Action,B16F05Action,A15F01Action,alphaDao,saibanNoDao,scopedTarget.userService,userService,scopedTarget.popupService,popupService,scopedTarget.dropDownListService,dropDownListService,scopedTarget.getSaibanNoService,getSaibanNoService,scopedTarget.alphaCommonService,alphaCommonService,fileUpDownService,quartzJob_1,quartzJob_2,scopedTarget.quartzmenu,quartzmenu,scopedTarget.quartzJob_A13F01,quartzJob_A13F01,scopedTarget.quartzJob_A13F06,quartzJob_A13F06,scopedTarget.quartzJob_A13F07,quartzJob_A13F07,scopedTarget.quartzJob_D07B06,quartzJob_D07B06,scopedTarget.quartzJob_D07B05,quartzJob_D07B05,scopedTarget.quartzJob_D07B07,quartzJob_D07B07,scopedTarget.quartzJob_D07B08,quartzJob_D07B08,scopedTarget.quartzJob_D07B09,quartzJob_D07B09,scopedTarget.quartzJob_D07B10,quartzJob_D07B10,methodInvokingJobDetail_1,methodInvokingJobDetail_2,methodInvokingJobDetail_menu,methodInvokingJobDetail_A13F01,methodInvokingJobDetail_A13F06,methodInvokingJobDetail_A13F07,methodInvokingJobDetail_D07B06,methodInvokingJobDetail_D07B05,methodInvokingJobDetail_D07B07,methodInvokingJobDetail_D07B08,methodInvokingJobDetail_D07B09,methodInvokingJobDetail_D07B10,cronTrigger_1,cronTrigger_2,cronTrigger_menu,cronTrigger_A13F01,cronTrigger_A13F06,cronTrigger_A13F07,cronTrigger_D07B06,cronTrigger_D07B05,cronTrigger_D07B07,cronTrigger_D07B08,cronTrigger_D07B09,cronTrigger_D07B10,scheduler,scopedTarget.a01F01Service,a01F01Service,scopedTarget.a01F03Service,a01F03Service,scopedTarget.a01F05Service,a01F05Service,scopedTarget.a02F01Service,a02F01Service,scopedTarget.a02F02Service,a02F02Service,scopedTarget.a02F03Service,a02F03Service,scopedTarget.a02F04ervice,a02F04ervice,scopedTarget.a03F01Service,a03F01Service,scopedTarget.a03F02Service,a03F02Service,scopedTarget.a03F03Service,a03F03Service,scopedTarget.a09F01Service,a09F01Service,scopedTarget.a09F02Service,a09F02Service,scopedTarget.a10F01Service,a10F01Service,scopedTarget.a10F02Service,a10F02Service,scopedTarget.a10F03Service,a10F03Service,scopedTarget.a10F08Service,a10F08Service,scopedTarget.a10F09Service,a10F09Service,scopedTarget.a10F04Service,a10F04Service,scopedTarget.a10F16Service,a10F16Service,scopedTarget.a11F02Service,a11F02Service,scopedTarget.a13F02Service,a13F02Service,scopedTarget.a13F03Service,a13F03Service,scopedTarget.a13F04Service,a13F04Service,scopedTarget.a13F05Service,a13F05Service,scopedTarget.a14F01Service,a14F01Service,scopedTarget.a18F01Service,a18F01Service,scopedTarget.a18F02Service,a18F02Service,scopedTarget.a20F01Service,a20F01Service,scopedTarget.a20F04Service,a20F04Service,scopedTarget.a20F05Service,a20F05Service,scopedTarget.a19F01Service,a19F01Service,scopedTarget.a19F02Service,a19F02Service,scopedTarget.a19F03Service,a19F03Service,scopedTarget.a19F04Service,a19F04Service,scopedTarget.a17F01Service,a17F01Service,scopedTarget.a16F01Service,a16F01Service,scopedTarget.a16F02Service,a16F02Service,scopedTarget.a16F03Service,a16F03Service,scopedTarget.a16F04Service,a16F04Service,scopedTarget.a16F05Service,a16F05Service,scopedTarget.a17F02Service,a17F02Service,scopedTarget.b20F01Service,b20F01Service,scopedTarget.b20F02Service,b20F02Service,scopedTarget.b20F03Service,b20F03Service,scopedTarget.b20F04Service,b20F04Service,scopedTarget.b20F05Service,b20F05Service,scopedTarget.b03F01Service,b03F01Service,scopedTarget.b04F01Service,b04F01Service,scopedTarget.b04F02Service,b04F02Service,scopedTarget.b04F03Service,b04F03Service,scopedTarget.b06F01Service,b06F01Service,scopedTarget.b06F02Service,b06F02Service,scopedTarget.b07F04Service,b07F04Service,scopedTarget.b07F14Service,b07F14Service,scopedTarget.b13F01Service,b13F01Service,scopedTarget.b13F02Service,b13F02Service,scopedTarget.b13F03Service,b13F03Service,scopedTarget.b07F01Service,b07F01Service,scopedTarget.b07F02Service,b07F02Service,scopedTarget.b07F03Service,b07F03Service,scopedTarget.b07F07Service,b07F07Service,scopedTarget.b07F08Service,b07F08Service,scopedTarget.b08F02Service,b08F02Service,scopedTarget.b10F01Service,b10F01Service,scopedTarget.b10F02Service,b10F02Service,scopedTarget.b10F10Service,b10F10Service,scopedTarget.b11F01Service,b11F01Service,scopedTarget.c01F01Service,c01F01Service,scopedTarget.c01F02Service,c01F02Service,scopedTarget.c01F03Service,c01F03Service,scopedTarget.c02F01Service,c02F01Service,scopedTarget.c03F01Service,c03F01Service,scopedTarget.c03F02Service,c03F02Service,scopedTarget.c03F03Service,c03F03Service,scopedTarget.c04F01Service,c04F01Service,scopedTarget.c04F02Service,c04F02Service,scopedTarget.c05F01Service,c05F01Service,scopedTarget.c05F02Service,c05F02Service,scopedTarget.c06F01Service,c06F01Service,scopedTarget.c06F02Service,c06F02Service,scopedTarget.c08F03Service,c08F03Service,scopedTarget.c08F05Service,c08F05Service,scopedTarget.c08F06Service,c08F06Service,scopedTarget.c08F07Service,c08F07Service,scopedTarget.c08F08Service,c08F08Service,scopedTarget.c08F09Service,c08F09Service,scopedTarget.c08F10Service,c08F10Service,scopedTarget.c08F11Service,c08F11Service,scopedTarget.c11F01Service,c11F01Service,scopedTarget.c12F02Service,c12F02Service,scopedTarget.c13F01Service,c13F01Service,scopedTarget.c13F02Service,c13F02Service,scopedTarget.c14F01Service,c14F01Service,scopedTarget.c14F02Service,c14F02Service,scopedTarget.c12F01Service,c12F01Service,scopedTarget.c14F03Service,c14F03Service,scopedTarget.c20F01Service,c20F01Service,scopedTarget.c20F02Service,c20F02Service,scopedTarget.c20F04Service,c20F04Service,scopedTarget.c20F05Service,c20F05Service,scopedTarget.c09F01Service,c09F01Service,scopedTarget.c08F04Service,c08F04Service,scopedTarget.c08F15Service,c08F15Service,scopedTarget.c16F01Service,c16F01Service,scopedTarget.c16F02Service,c16F02Service,scopedTarget.c16F03Service,c16F03Service,scopedTarget.c16F04Service,c16F04Service,scopedTarget.c16F05Service,c16F05Service,scopedTarget.c17F01Service,c17F01Service,scopedTarget.c17F02Service,c17F02Service,scopedTarget.c18F01Service,c18F01Service,scopedTarget.c08F16Service,c08F16Service,scopedTarget.c08F17Service,c08F17Service,scopedTarget.d02F01Service,d02F01Service,scopedTarget.d02F02Service,d02F02Service,scopedTarget.d02F03Service,d02F03Service,scopedTarget.d02F04Service,d02F04Service,scopedTarget.d02F05Service,d02F05Service,scopedTarget.d02F06Service,d02F06Service,scopedTarget.d02F07Service,d02F07Service,scopedTarget.d02F09Service,d02F09Service,scopedTarget.d02F10Service,d02F10Service,scopedTarget.d02F11Service,d02F11Service,scopedTarget.d02F12Service,d02F12Service,scopedTarget.d02F18Service,d02F18Service,scopedTarget.d02F20Service,d02F20Service,scopedTarget.d02F21Service,d02F21Service,scopedTarget.d02F22Service,d02F22Service,scopedTarget.d02F23Service,d02F23Service,scopedTarget.d02F24Service,d02F24Service,scopedTarget.d02F25Service,d02F25Service,scopedTarget.d02F26Service,d02F26Service,scopedTarget.d03F01Service,d03F01Service,scopedTarget.d04F01Service,d04F01Service,scopedTarget.b12F01Service,b12F01Service,scopedTarget.b12F02Service,b12F02Service,scopedTarget.b15F01Service,b15F01Service,scopedTarget.b16F01Service,b16F01Service,scopedTarget.b16F02Service,b16F02Service,scopedTarget.b16F03Service,b16F03Service,scopedTarget.b16F04Service,b16F04Service,scopedTarget.b16F05Service,b16F05Service,scopedTarget.a15F01Service,a15F01Service,applicationPathConfig,cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,cxf.config0,apItemsWebServiceImpl,apitemswebserviceprocess,apitemsWebService]; root of factory hierarchy

[main]| INFO|[com.mchange.v2.log.MLog]|23:38:31,252 | MLog clients using log4j logging.

[main]| INFO|[com.mchange.v2.c3p0.C3P0Registry]|23:38:31,278 | Initializing c3p0-0.9.2-pre4 [built 16-June-2012 20:16:37 -0400; debug? true; trace: 10]

[main]| INFO|[org.springframework.security.intercept.AbstractSecurityInterceptor]|23:38:31,405 | Validated configuration attributes

[main]| INFO|[org.quartz.core.QuartzScheduler]|23:38:31,763 | Quartz Scheduler v.1.6.0 created.

[main]| INFO|[org.quartz.simpl.RAMJobStore]|23:38:31,764 | RAMJobStore initialized.

[main]| INFO|[org.quartz.impl.StdSchedulerFactory]|23:38:31,764 | Quartz scheduler 'scheduler' initialized from an externally provided properties instance.

[main]| INFO|[org.quartz.impl.StdSchedulerFactory]|23:38:31,764 | Quartz scheduler version: 1.6.0

[main]| INFO|[org.quartz.core.QuartzScheduler]|23:38:31,765 | JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@388eed76

Dec 28, 2016 11:38:35 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass

INFO: Creating Service {http://webservice.apps.ecommerce.alphapurchase.com/}ApItemsWebService from class com.alphapurchase.ecommerce.apps.webservice.IApItemsWebService

Dec 28, 2016 11:38:36 PM org.apache.cxf.endpoint.ServerImpl initDestination

INFO: Setting the server's publish address to be /ApItemsWebService

[main]| INFO|[org.springframework.context.support.DefaultLifecycleProcessor]|23:38:36,188 | Starting beans in phase 2147483647

[main]| INFO|[org.springframework.scheduling.quartz.SchedulerFactoryBean]|23:38:36,188 | Starting Quartz Scheduler now

[main]| INFO|[org.quartz.core.QuartzScheduler]|23:38:36,188 | Scheduler scheduler_$_NON_CLUSTERED started.

[main]| INFO|[org.springframework.web.context.ContextLoader]|23:38:36,190 | Root WebApplicationContext: initialization completed in 6397 ms

Dec 28, 2016 11:38:36 PM org.apache.catalina.core.StandardContext start

SEVERE: Error listenerStart

Dec 28, 2016 11:38:36 PM org.apache.catalina.core.StandardContext start

SEVERE: Context [/alpha] startup failed due to previous errors

log4j:WARN No appenders could be found for logger (org.springframework.context.support.DefaultLifecycleProcessor).

log4j:WARN Please initialize the log4j system properly.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/alpha] appears to have started a thread named [scheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.

Dec 28, 2016 11:38:36 PM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory examples

Dec 28, 2016 11:38:36 PM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory ROOT

Dec 28, 2016 11:38:36 PM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory docs

Dec 28, 2016 11:38:36 PM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-80

Dec 28, 2016 11:38:36 PM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

Dec 28, 2016 11:38:36 PM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/12  config=null

Dec 28, 2016 11:38:36 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 7597 ms

 

 

<!DOCTYPE tiles-definitions

PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN"

"/usr/src/alpha/WebContent/WEB-INF/lib/tiles-config_2_1.dtd">

 

分享到:
评论

相关推荐

    Struts所有jar包、DTD文件(struts-1.2.9-bin.rar)

    在Struts框架中,DTD文件主要用在配置文件中,如`struts-config.xml`和`web.xml`,它们定义了Struts应用程序的行为和结构。例如,`struts-config_1_2.dtd`定义了`struts-config.xml`的结构,确保开发者正确地编写...

    Struts-2.1.6整合Tiles2全攻略

    "http://struts.apache.org/dtds/tiles-config_2_0.dtd"&gt; &lt;tiles-definitions&gt; &lt;definition name="layout.show" template="/tiles/layout.jsp"&gt; &lt;put-attribute name="header" value="/tiles/header.jsp"/&gt; ...

    Tiles的使用 - 遗补和总结-.pdf

    在使用Tiles之前,我们需要在Struts的配置文件(通常为struts-config.xml)中启用Tiles插件。以下是一个基本的Tiles配置示例: ```xml &lt;plug-in className="org.apache.struts.tiles.TilesPlugin"&gt; &lt;set-property ...

    Tiles的使用 - 遗补和总结-.docx

    1. `definitions-config`: 指定Tiles的配置文件,可以指定多个,用逗号分隔。配置文件中定义了Tiles的布局和组件。 2. `moduleAware`: 如果设为`true`(默认),每个Struts模块都有自己的Tiles工厂;设为`false`,则...

    struts2.0 整合tiles 配置

    将Struts2与Tiles结合使用,可以更加灵活地管理页面结构,实现统一的页面风格,提高开发效率。 #### 二、所需JAR包 首先,为了能够成功地整合Struts2与Tiles,我们需要确保项目的类路径中包含以下JAR包: 1. **...

    Struts-Tiles.pdf

    本篇文章将探讨如何使用 Struts Tiles 框架来解决这个问题,该框架在 Struts 1.1 版本中被引入。首先,我们将通过一个简单的 Struts 应用程序来展示传统的做法及其潜在问题;随后,我们将会尝试使用 JSP Include ...

    struts1教程.doc

    DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"&gt; &lt;struts-config&gt; &lt;form-beans&gt; &lt;!-- ActionForm配置...

    tiles+struts2配置文件

    1. **添加依赖**:在项目的pom.xml文件或lib目录中,添加Tiles和Struts2相关的JAR包,确保项目能够识别和使用这两个库。 2. **配置struts-plugin.xml**:在Struts2的配置文件struts-plugin.xml中,我们需要启用...

    struts2 jar包

    例如,`struts-config_2_0.dtd`定义了Struts2配置文件的元素和属性,确保开发者遵循正确的配置语法。 使用Struts2进行开发时,通常会按照以下步骤进行: 1. **创建Maven或Gradle项目**: 设置依赖,确保所有必要的...

    struts国际化的使用

    DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"&gt; &lt;struts-config&gt; &lt;message-resources ...

    Struts1.x.pdf

    DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"&gt; &lt;struts-config&gt; &lt;data-sources/&gt; &lt;form-beans&gt; ...

    Eclipse开发Struts1.2

    - `struts-config.xml`是Struts应用的主要配置文件,遵循`struts-config_1_2.dtd`。 - 文件结构包括:`&lt;data-sources&gt;`, `&lt;form-beans&gt;`, `&lt;global-exceptions&gt;`, `&lt;global-forwards&gt;`, `&lt;action-mappings&gt;`, `...

    struts国际化程序尝试

    DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"&gt; &lt;struts-config&gt; &lt;message-resources ...

    Struts1.x Spring2.x Hibernate3.x DWR2.x整合工具文档v1.00

    ### Struts1.x、Spring2.x、Hibernate3.x 和 DWR2.x 整合知识点解析 #### 一、Struts1.x与Spring2.x的整合 **1.1 在web.xml中进行Struts和Spring的配置** 为了实现Struts1.x与Spring2.x的无缝集成,首先需要在...

    Struts2运行经常遇见的异常描述

    "http://tiles.apache.org/dtds/tiles-config_2_0.dtd"&gt; &lt;tiles-definitions&gt; ``` #### 5. Struts2 EL 表达式与 OGNL 的兼容性问题 **异常描述**: Struts2 2.1 版本的标签不允许在其属性中评估 Java Server ...

    struts2最新2.3.4.1源码

    6. **插件体系**:Struts2有一个强大的插件架构,如Tiles、Freemarker、Struts2-dojo等,这些插件可以扩展Struts2的功能,满足各种需求。 7. **安全方面**:尽管2.3.4.1是一个较旧的版本,但Struts2团队一直致力于...

    Struts实例讲解

    DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"&gt; &lt; struts-config &gt; &lt; data-sources /&gt; ...

    struts1非常好的一个资料

    DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd"&gt; &lt;struts-config&gt; &lt;action-mappings&gt; ... ...

    struts基本知识介绍

    "http://struts.apache.org/dtds/struts-config_1_2.dtd"&gt; &lt;struts-config&gt; &lt;data-sources/&gt; &lt;form-beans&gt; &lt;!-- 定义表单Bean --&gt; &lt;form-bean name="xxx" type="ActionForm的类全名"/&gt; &lt;form-bean name=...

    tiles框架增加一个页面的步骤

    "http://tiles.apache.org/dtds/tiles-config_2_0.dtd"&gt; &lt;tiles-definitions&gt; &lt;definition name="home" template="/WEB-INF/layout.jsp"&gt; &lt;put-attribute name="title" value="Home Page"/&gt; &lt;put-attribute name=...

Global site tag (gtag.js) - Google Analytics