glassfish
  1. glassfish
  2. GLASSFISH-20734

Encoding mappings defined in deployment descriptor file are ignored.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0_b89_RC5
    • Fix Version/s: 4.0_b90
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Solaris

      Description

      When an encoding mapping is defined in deployment descriptor,

      <locale-encoding-mapping-list>
      <locale-encoding-mapping>
      <locale>ja</locale>
      <encoding>euc-jp</encoding>
      </locale-encoding-mapping>
      <locale-encoding-mapping>
      <locale>zh_CN</locale>
      <encoding>gb18030</encoding>
      </locale-encoding-mapping>
      </locale-encoding-mapping-list>

      call
      response.setLocale(Locale.JAPAN);
      fails to set encoding to euc-jp.

        Activity

        djiao created issue -
        Shing Wai Chan made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Shing Wai Chan added a comment -

        fix in trunk
        Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/LocaleEncodingMappingDescriptor.java
        Sending web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java
        Sending web/web-glue/src/main/java/org/glassfish/web/deployment/node/WebCommonNode.java
        Transmitting file data ...
        Committed revision 62449.

        Show
        Shing Wai Chan added a comment - fix in trunk Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/LocaleEncodingMappingDescriptor.java Sending web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java Sending web/web-glue/src/main/java/org/glassfish/web/deployment/node/WebCommonNode.java Transmitting file data ... Committed revision 62449.
        Hide
        Shing Wai Chan added a comment -

        fix in 4.0 branch
        Sending appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/LocaleEncodingMappingDescriptor.java
        Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java
        Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/node/WebCommonNode.java
        Transmitting file data ...
        Committed revision 62451.

        Show
        Shing Wai Chan added a comment - fix in 4.0 branch Sending appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/LocaleEncodingMappingDescriptor.java Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/node/WebCommonNode.java Transmitting file data ... Committed revision 62451.
        Shing Wai Chan made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            djiao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: