Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-104

No content-type header in Tiles Result response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.1
    • tiles-core
    • None
    • JBoss-4.0.5.GA/Tomcat-5.5

    Description

      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.

      Attachments

        1. example.zip
          4 kB
          Elin Heinstedt

        Issue Links

          Activity

            People

              brenmcguire Antonio Petrelli
              elin Elin Heinstedt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: