Servlet Internationalization - Netscape ENTREPRISE SERVER 6.1 - 08-2002 ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Servlet Internationalization

You can enable or disable the server to the
server.xml
Table D-1
acceptlanguage
For example, if
Accept-language header with the value
URL:
http://www.example.com/somepage.html
Your server searches for the file in the following order:
The
1.
http://www.example.com/fr_ch/somepage.html
http://www.example.com/somepage_fr_ch.html
http://www.example.com/de/somepage.html
http://www.example.com/somepage_de.html
Language codes without the country codes (
2.
http://www.example.com/fr/somepage.html
http://www.example.com/somepage_fr.html
The
3.
http://www.example.com/en/somepage.html
http://www.example.com/somepage_en.html
If none of these are found, the server tries:
4.
http://www.example.com/somepage.html
NOTE
Servlet Internationalization
When form data is submitted from a browser to the server using
358
Netscape Enterprise Server Administrator's Guide • August 2002
file.
International Settings in server.xml
on, off
acceptlanguage
list
Accept-language
, such as
DefaultLanguage
Keep in mind when naming your localized files that country codes
like CH and TW are converted to lower case and dashes (-) are
converted to underscores (_).
acceptlanguage
Enables or disables the Accept-language
header parsing.
is set to
, and a client sends the
on
, when requesting the following
fr-CH,de
.
fr-CH,de
in the case of
fr
, defined in the
en
directive in the
):
fr-CH
file.
magnus.conf
, the browser:
POST

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