Thanks Teemu, You provided the hint that solved the problem!
Because I was too lazy to check how to use the Tiles servlet I tried to use org.apache.tiles.listener.TilesListener instead of org.apache.struts2.tiles.StrutsTilesListener and already like that it works. However the documentation states that "The latter [StrutsTilesListener] provides tighter integration with Struts features such as freemarker integration." so I wonder if this applies to the Tiles servlet as well and if it would be better to use it instead of the TilesListener? Torsten Teemu Tapper wrote: > hello, > we had a similar problem and we solved it by using Tiles servlet instead of > Tiles listener. > > Cheers, > Teemu > > > Torsten Römer wrote: >> I added Tiles to the struts2-blank-2.0.6 example webapp and started to >> work on my application. All works just fine on my Linux/Tomcat 5.5 >> development box but when I deploy the app to the provider's Linux/Tomcat >> 5.5 webspace the content type is suddenly text/plain instead of >> text/html and all I see is the HTML source. >> >> The funny thing is, that when an action is executed through >> >> <s:action namespace="/test" name="home" executeResult="true"></s:action> >> >> the content type is text/html and the page displays correctly, but when >> the same action is executed through >> >> <s:url action= ">Home >> >> the above described problem occurs. >> >> Setting something like <%@ page language="java" contentType="text/html; >> charset=ISO-8859-1" %> in the Tiles template and even the subpages seems >> to be ignored. >> >> Calling a JSP directly works fine. >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]