Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3612

UTF-8 encoding problem in s:component JSP page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.1
    • 2.3.1
    • Plugin - Tags
    • None

    Description

      Created a JSP page in webapp/templates/viaboxx/componentTest.jsp to avoid repeating similiar form fields.

      Encoding is UTF-8 in all JSP pages <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> and file encoding.

      German umlauts are broken when including the component with <s:component template="componentTest.jsp" theme="viaboxx"/>

      Find attached a Maven Struts2 Archetype blank with the problem in HelloWorld.jsp (mvn jetty:run -> http://localhost:8080/tutorial/example/HelloWorld.action)

      Attachments

        1. tutorial.zip
          15 kB
          Simon Tiffert
        2. Bildschirmfoto 2011-04-21 um 10.09.41.png
          16 kB
          Simon Tiffert

        Issue Links

          Activity

            People

              rgielen René Gielen
              bort1002000 Simon Tiffert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: