0 Replies Latest reply on Feb 24, 2012 4:34 PM by pratik229

    Migration from jboss-4.2.3 to jboss-5.1.0: Issue with character encoding of the request received

    pratik229

      Hi,

       

      I an existing production application, we receive an XML as part of the request. We read the XML through a BufferedReader obtained from the request (request.getReader().read()). In order to read the XML correctly we need to know the correct encoding of the request to avoid IO Exceptions.

       

      The problem is that request.getCharacterEncoding() method in jboss-5.1.0 now returns null instead of the encoding string.

       

      This used to work fine in  jboss-4.2.3. But after moving to jboss-5.1.0 it has suddenly stopped working.

       

      Kindly help!