None; Any Valid Encoding; Posting To Jsps - Netscape ENTREPRISE SERVER 6.1 - 08-2002 ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Posting to JSPs

This option is typically used if the servlet that is reading the data does not
necessarily know what the charset of the posted data is. The hint parameter
name, which by default is
the

none

Use this option if you wish the platform default encoding to be used for the servlet
parameter data.

any valid encoding

If none of the above options are specified, the servlet container interprets this string
itself as the encoding, so this can be any valid encoding string like
UTF-8
POST
NOTE
For more information on
Programmer's Guide to Servlets.
Posting to JSPs
You can configure
posting to a JSP instead of a servlet. The following example demonstrates a JSP
configuration of '
encoding:
<%@ page contentType="text/html;charset=Shift_JIS" %>
<html>
<head>
<title>JSP Test Case</title>
</head>
<body>
<%
request.setAttribute("com.netscape.server.http.servlet.parameterEnc
oding", "Shift_JIS");
360
Netscape Enterprise Server Administrator's Guide • August 2002
parameter-encoding
. For example, you would specify this as
data is always in
UTF-8
The server will always try to resolve the charset from the
Content-Type
parameter-encoding
parameter-encoding
' to read parameters which are in Japanese
auto
can be changed using
j_encoding
element in
web-apps.xml
UTF-8
.
header of the request first.
, see the Netscape Enterprise Server
to work the same way when you are
.
Shift_JIS
if you know that the form
Shift_JIS
, or

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE ENTREPRISE SERVER 6.1 - 08-2002 ADMINISTRATOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Entreprise server 6.1

Table of Contents