no pageEncoding - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

no pageEncoding

h3rj4nh3rj4n Posts: 1Member
I'm trying to give a program response with JSP but the program compaints about the give Charset.

The program sends a URL with paramaters to the JSP page and needs the content generated by the JSP page to work properly. The response is not allowed to have any kind of charset. So I need JSP to give a response to the program with no charset.

Is this possible? Can't find my answer with Google.


  • freezeafreezea Posts: 4Member
    pageEncoding:The encoding used for the JSP page file, as well as
    the response charset if no charset is specified by contentType.

    If this attribute is omitted, but a charset is specified for contentType,
    that charset is also used of the page; if contentType doesn't specify a charset, ISO-8859-1 is used for a regular JSP page, and UTF-8 is used for a JSP Document.

    you can use response.setCharaterEncoding() to set the charset for jsp

    hope it helps

    [link=]RAQ Report---Enjoy Products and Services of RAQSOFT [/link]

Sign In or Register to comment.