1 Reply Latest reply on Jan 11, 2004 2:06 AM by sbrbot

    content type without charset

    egbert

      Hello!

      We port a J2EE application from BEA WebLogic 6.1 to
      JBOSS 3.0.4 (Solaris 8).

      The HTTP Response for the client is created via a JSP
      which also sets the content type (application/blablabla).
      Our problem is the automatically appended default
      charset parameter (charset=ISO-8859-1) which was not
      appended under WebLogic and which is not expected by the
      client.

      Is it possible to suppress the generation of the
      charset parameter within the content type definition?

      Thanks in advance
      Egbert


        • 1. Re: content type without charset
          sbrbot

          JSP shall work with character set you define in:

          <%@ page language="java" contentType="text/html; charset=windows-1250" %>

          But problem is that Java does not know how to deal with all of these character set you can define for your browser!