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. > > -- View this message in context: http://www.nabble.com/Wrong-Content-Type-text-plain-tf3559135.html#a9954129 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]