You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/04/24 15:30:23 UTC
[jira] Closed: (TILES-104) No content-type header in Tiles Result
response
[ https://issues.apache.org/struts/browse/TILES-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli closed TILES-104.
----------------------------------
> No content-type header in Tiles Result response
> -----------------------------------------------
>
> Key: TILES-104
> URL: https://issues.apache.org/struts/browse/TILES-104
> Project: Tiles
> Issue Type: Bug
> Components: tiles-core
> Affects Versions: 2.0.1
> Environment: JBoss-4.0.5.GA/Tomcat-5.5
> Reporter: Elin Heinstedt
> Assigned To: Antonio Petrelli
> Fix For: 2.0.1
>
> Attachments: example.zip
>
>
> When forwarding from an action to a tiles result the content-type of the response is empty.
> * The tiles result i defined in a tiles definition file:
> <definition name="tiles.letters" template="/tilesResult.jsp">
> <put name="content" value="/tile-letters.jsp" />
> </definition>
> * The tilesResult.jsp uses insertAttribute:
> <tiles:insertAttribute name="content" />
> * Each page declares the contentType UTF-8:
> <%@ page contentType="text/html; charset=UTF-8" %>
> * If a Disptacher Result a used instead of the TilesResult the content-type of the response is text/html; charset=UTF-8.
> I attach sample code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.