Ok, now it's weekend and I have time for this. Here is the my struts-config:
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <constant name="struts.enable.DynamicMethodInvocation" value="false" /> <constant name="struts.devMode" value="true" /> <constant name="struts.objectFactory" value="spring" /> <!-- Add packages here --> <package name="GRL" extends="struts-default" namespace="/"> <result-types> <result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" /> <result-type name="chart" class="org.apache.struts2.dispatcher.ChartResult"> <param name="height">150</param> <param name="width">200</param> </result-type> </result-types> <action name="showFieldPlayer" class="showFieldPlayer"> <result name="success" type="tiles">showFieldPlayer</result> </action> <action name="showTeamHCs" class="showTeamHCs"> <result name="success" type="tiles">showTeamHCs</result> </action> <action name="showGoalieAttributes" class="GoalieAttributesChart"> <result name="success" type="chart"> <param name="width">450</param> <param name="height">320</param> </result> </action> <action name="showFieldPlayerAttributes" class="FieldPlayerAttributesChart"> <result name="success" type="chart"> <param name="width">450</param> <param name="height">320</param> </result> </action> <action name="showFieldPlayerComparison" class="FieldPlayerComparisonChart"> <result name="success" type="chart"> <param name="width">450</param> <param name="height">300</param> </result> </action> <action name="showHumanList" class="showHumanList"> <result name="success" type="tiles">showHumanList</result> </action> </package> <include file="struts-administration.xml"/> </struts> Here is struts-administration.xml: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <constant name="struts.enable.DynamicMethodInvocation" value="false" /> <constant name="struts.devMode" value="true" /> <constant name="struts.objectFactory" value="spring" /> <!-- Add packages here --> <package name="Administration" extends="struts-default" namespace="/administration"> <result-types> <result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" /> <result-type name="chart" class="org.apache.struts2.dispatcher.ChartResult"> <param name="height">150</param> <param name="width">200</param> </result-type> </result-types> <action name="showHumanList" class="showHumanList"> <result name="success" type="tiles">showHumanList</result> </action> </package> </struts> I've set the root debug level to debug. Here are some excerpts: Here is everything fine: 23:37:38,234 DEBUG BasicTilesContainer:420 - Dispatching to definition path 'WEB-INF/tiles-fragments/layout.jsp ' 23:37:38,234 DEBUG SpringAOPLog4JLogger:48 - before execution of method toString() from object [EMAIL PROTECTED] 23:37:38,234 DEBUG SpringAOPLog4JLogger:86 - after returning from method toString() from object [EMAIL PROTECTED] with Return Value <[EMAIL PROTECTED]> 23:37:38,234 DEBUG InstantiatingNullHandler:72 - Entering nullPropertyValue [EMAIL PROTECTED], [EMAIL PROTECTED], property=org] 23:37:38,234 DEBUG JspServlet:248 - JspEngine --> /WEB-INF/tiles-fragments/layout.jsp 23:37:38,234 DEBUG JspServlet:249 - ServletPath: /showHumanList.action 23:37:38,250 DEBUG JspServlet:250 - PathInfo: null 23:37:38,250 DEBUG JspServlet:251 - RealPath: C:\Programmierung\Repositories\Hockey\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\GRL\WEB-INF\tiles-fragments\layout.jsp 23:37:38,250 DEBUG JspServlet:252 - RequestURI: /GRL/showHumanList.action 23:37:38,250 DEBUG JspServlet:253 - QueryString: null 23:37:38,250 DEBUG JspServlet:254 - Request Params: 23:37:44,671 DEBUG SpringAOPLog4JLogger:48 - before execution of method toString() from object [EMAIL PROTECTED] 23:37:44,671 DEBUG SpringAOPLog4JLogger:86 - after returning from method toString() from object [EMAIL PROTECTED] with Return Value <[EMAIL PROTECTED]> 23:37:44,687 DEBUG InstantiatingNullHandler:72 - Entering nullPropertyValue [EMAIL PROTECTED], [EMAIL PROTECTED], property=org] 23:37:44,687 DEBUG JspServlet:248 - JspEngine --> /WEB-INF/tiles-fragments/showHumanList.jsp 23:37:44,687 DEBUG JspServlet:249 - ServletPath: /showHumanList.action 23:37:44,687 DEBUG JspServlet:250 - PathInfo: null 23:37:44,703 DEBUG JspServlet:251 - RealPath: C:\Programmierung\Repositories\Hockey\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\GRL\WEB-INF\tiles-fragments\showHumanList.jsp 23:37:44,718 DEBUG JspServlet:252 - RequestURI: /GRL/showHumanList.action 23:37:44,718 DEBUG JspServlet:253 - QueryString: null 23:37:44,734 DEBUG JspServlet:254 - Request Params: 23:37:45,765 DEBUG TableProperties:456 - Was not able to load a custom displaytag.properties; Can't find bundle for base name displaytag, locale de_DE 23:37:45,812 INFO ExportViewFactory:61 - Initializing ExportViewFactory with type={csv,excel,xml,pdf} 23:37:45,843 DEBUG ExportViewFactory:138 - ExportView for csv media added: org.displaytag.export.CsvView 23:37:45,843 DEBUG ExportViewFactory:138 - ExportView for excel media added: org.displaytag.export.ExcelView 23:37:45,859 DEBUG ExportViewFactory:138 - ExportView for xml media added: org.displaytag.export.XmlView 23:37:45,890 DEBUG ExportViewFactory:138 - ExportView for pdf media added: org.displaytag.export.PdfView Here something goes wrong: 23:36:43,421 DEBUG BasicTilesContainer:388 - Render request recieved for definition 'showHumanList' 23:36:43,421 DEBUG SpringAOPLog4JLogger:48 - before execution of method toString() from object [EMAIL PROTECTED] 23:36:43,421 DEBUG SpringAOPLog4JLogger:86 - after returning from method toString() from object [EMAIL PROTECTED] with Return Value <[EMAIL PROTECTED]> 23:36:43,421 DEBUG InstantiatingNullHandler:72 - Entering nullPropertyValue [EMAIL PROTECTED], [EMAIL PROTECTED], property=org] 23:36:43,437 DEBUG SpringAOPLog4JLogger:48 - before execution of method toString() from object [EMAIL PROTECTED] 23:36:43,437 DEBUG SpringAOPLog4JLogger:86 - after returning from method toString() from object [EMAIL PROTECTED] with Return Value <[EMAIL PROTECTED]> 23:36:43,437 DEBUG InstantiatingNullHandler:72 - Entering nullPropertyValue [EMAIL PROTECTED], [EMAIL PROTECTED], property=org] 23:36:43,437 DEBUG BasicTilesContainer:420 - Dispatching to definition path 'WEB-INF/tiles-fragments/layout.jsp ' 23:36:43,437 DEBUG SpringAOPLog4JLogger:48 - before execution of method toString() from object [EMAIL PROTECTED] 23:36:43,453 DEBUG SpringAOPLog4JLogger:86 - after returning from method toString() from object [EMAIL PROTECTED] with Return Value <[EMAIL PROTECTED]> 23:36:43,453 DEBUG InstantiatingNullHandler:72 - Entering nullPropertyValue [EMAIL PROTECTED], [EMAIL PROTECTED], property=org] 23:36:43,453 DEBUG JspServlet:248 - JspEngine --> /administration/WEB-INF/tiles-fragments/layout.jsp 23:36:43,453 DEBUG JspServlet:249 - ServletPath: /administration/showHumanList.action 23:36:43,453 DEBUG JspServlet:250 - PathInfo: null 23:36:43,468 DEBUG JspServlet:251 - RealPath: C:\Programmierung\Repositories\Hockey\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\GRL\administration\WEB-INF\tiles-fragments\layout.jsp 23:36:43,468 DEBUG JspServlet:252 - RequestURI: /GRL/administration/showHumanList.action 23:36:43,468 DEBUG JspServlet:253 - QueryString: null 23:36:43,484 DEBUG JspServlet:254 - Request Params: 23:36:43,500 DEBUG SpringAOPLog4JLogger:48 - before execution of method getLocale() from object [EMAIL PROTECTED] 23:36:43,500 DEBUG SpringAOPLog4JLogger:86 - after returning from method getLocale() from object [EMAIL PROTECTED] with Return Value <de_DE> 23:36:43,500 DEBUG I18nInterceptor:145 - after Locale=de_DE 23:36:43,500 DEBUG I18nInterceptor:149 - intercept } Perhaps this will help you to detect the problem. The result in second case is an empty page. 2007/7/27, Antonio Petrelli <[EMAIL PROTECTED]>: > > Kim, can you try creating a very small project with two > struts-config.xml and see if the problem is repeatable, possibly with > a very simple Tiles definition? > If yes, it could be a bug. > > Antonio > > 2007/7/27, Kim Wegerle <[EMAIL PROTECTED]>: > > Yes, I have. > > > > 2007/7/27, Dave Newton <[EMAIL PROTECTED]>: > > > > > > Rewording: > > > > > > Do you have the tiles S2 result *type* defined in both > > > struts config files? > > > > > > --- Kim Wegerle <[EMAIL PROTECTED]> wrote: > > > > > > > No, I moved the complete action tag from the one > > > > struts-config to the other > > > > struts-config including the result tag. The Tiles > > > > definitions are in the > > > > Tiles config file. > > > > > > > > 2007/7/25, Dave Newton <[EMAIL PROTECTED]>: > > > > > > > > > > Do you have the tiles result defined in both > > > > struts > > > > > config files? > > > > > > > > > > d. > > > > > > > > > > --- Kim Wegerle <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > > > > > This is a good advice. I will change the log > > > > level > > > > > > to debug. Perhaps I'll > > > > > > see something that helps to solve this problem. > > > > With > > > > > > the current log level > > > > > > and my own debug output I'm only able to see > > > > that > > > > > > there are no errors in the > > > > > > log and the console and that the action returned > > > > > > "success". I just wanted to > > > > > > go sure with my question, that there is nothing > > > > > > additional I have to do, > > > > > > when I use multiple struts config files with > > > > Tiles. > > > > > > > > > > > > 2007/7/25, Antonio Petrelli > > > > > > <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > 2007/7/25, Kim Wegerle > > > > > > <[EMAIL PROTECTED]>: > > > > > > > > Hello, > > > > > > > > > > > > > > > > I'm using Struts 2.0.8. I've decided to > > > > divide > > > > > > my Struts configuration > > > > > > > into > > > > > > > > multiple parts. The configuration is now > > > > divided > > > > > > into two parts: > > > > > > > > struts-config.xml and > > > > > > struts-config-administration.xml . I'm using the > > > > > > > Tiles > > > > > > > > plug-in and with one single configuration > > > > > > everything worked fine. But > > > > > > > after > > > > > > > > dividing the struts-config.xml I have a > > > > problem: > > > > > > the action is > > > > > > > configured > > > > > > > > correctly and works fine, but the result > > > > page is > > > > > > empty. I see messages > > > > > > > in my > > > > > > > > logfile telling me that every service layer > > > > > > method is called as expected > > > > > > > and > > > > > > > > even the action result is correct. The > > > > called > > > > > > action is in the included > > > > > > > > struts-config-administration.xml and the > > > > path is > > > > > > "/administration" > > > > > > > instead > > > > > > > > of "/". The tiles result ist defined too. > > > > When I > > > > > > put the same action > > > > > > > into > > > > > > > > the root struts-config.xml everything works > > > > fine > > > > > > again. Is there > > > > > > > anything > > > > > > > > extra that I must define that Tiles needs to > > > > > > work correctly when I use > > > > > > > > multiple struts-config files? > > > > > > > > > > > > > > Is there anything in the log that could help? > > > > > > > > > > > > > > Antonio > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: > > > > > > [EMAIL PROTECTED] > > > > > > > For additional commands, e-mail: > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > > > Looking for a deal? Find great prices on flights > > > > and hotels with Yahoo! > > > > > FareChase. > > > > > http://farechase.yahoo.com/ > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > Be a better Globetrotter. Get better travel answers from someone who > > > knows. Yahoo! Answers - Check it out. > > > http://answers.yahoo.com/dir/?link=list&sid=396545469 > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >