Sun Java System Application Server 

Samples Index

Internationalization (i18N) Sample Application

This document describes the Internationalization (i18N) sample application .

Overview

The Internationalization (i18N) sample application is a simple application that demonstrates the internationalization and localization (i18N) features in the Application Server, specifically features of the Java Servlet and Java Server Pages specifications.

Building, Deploying, and Running the Application

The general instructions for building, deploying, and running sample applications are provided in Building, Deploying, and Running Sample Applications. In reading this document, use the following application-specific variables:

Follow this general procedure:

  1. Build the Application. The build file, build.xml, is in the app_dir directory, specifically, install_dir/samples/i18n/apps/simple.
  2. Deploy the Application The EAR file is install_dir/samples/i18n/apps/simple/i18n-simple.ear.
  3. Run the Application The application name (context root) is i18n-simple.

Running the Application

To run the application, enter the following URL in your browser:

http://hostname:port/i18n-simple
Click on the links to run various servlets and execute the i18n sample application.


Copyright © 2006 Sun Microsystems, Inc. All rights reserved.