You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/02/12 01:50:16 UTC

[jira] Updated: (WW-1724) No content-type header in Tiles Result response

     [ https://issues.apache.org/struts/browse/WW-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1724:
---------------------------

    Fix Version/s: 2.0.7

> No content-type header in Tiles Result response
> -----------------------------------------------
>
>                 Key: WW-1724
>                 URL: https://issues.apache.org/struts/browse/WW-1724
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.0.5
>         Environment: JBoss-4.0.5.GA/Tomcat-5.5
>            Reporter: Antonio Petrelli
>             Fix For: 2.0.7
>
>
> Following is the description of the problem, as reported by Elin Heinstedt:
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.