Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Server API
Servlet / JSP API
Xerces API
CGI
SSI
Servlets
Config Files
Log Files
Classes
Directory Tree
Examples
Legal
Contact Us
|
Servertec Internet Server can be easily modified to run in another locale by
changing the following files and settings.
Internal Messages
Servertec Internet Server's messages are stored in
stec/iws/localstrings.properties and in
stec/sql/localstrings.properties.
The Administrator's messages are stored in
stec/iws/admin/localstrings.properties
Configuration Files
If the platform's charset encoding is different than the charset of the
server then define default_charset in
iws_dir/config/iws.ini.
If the platform's language is different than the language of the server
then define default_language in iws_dir/config/iws.ini.
If the platform's Locale is different than the Locale of the server then
define default_language, default_country and
default_variant in iws_dir/config/iws.ini.
Servlets
When content_negotiation is set to y in
iws_dir/config/iws.ini the stec.iws.FileServlet will
negotiate content type, language, charset and content encoding based on the
Accept, Accept-Language, Accept-Charset and
Accept-Encoding request headers and on the settings of
default_content_type, default_language, default_charset,
default_content_encoding and encodings in
iws_dir/config/iws.ini.
Command Line
If the platform's character encoding is different then the character
encoding of the server then if directly starting the server add
-Dfile.encoding=encoding to the command line.
file.encoding is used by the server when reading and writing
configuration files in iws_dir/config, when reading template
files in iws_dir/html, when reading
stec.iws.SSIncludeServlet templates, when reading
stec.iws.ServletTagServlet templates and when the Administrator is
reading files in iws_dir/admin.
|
|