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

UTF-8 encoding problem in s:component JSP page

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.3.1
    • Component/s: Plugin - Tags
    • Labels:
      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. Bildschirmfoto 2011-04-21 um 10.09.41.png
          16 kB
          Simon Tiffert
        2. tutorial.zip
          15 kB
          Simon Tiffert

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: