Julian,

I can answer one of the questions you pose....
The language and country values are, as noted in the APM, supposed to follow
the resource bundle naming pattern.  Resource
bundles use the 2 character ISO language and country codes.

I am curious myself to find out how to indicate to the servlet
engine that a JSP page is localized, and also how to provide the Locale for
which I desire the relevant JSP page.

As for your observation that the JSP 1.1 spec from Sun doesn't
appear to mention this....  It is rather perplexing isn't it.  I too spent a
while trying to find the reference in the Spec - it
doesn't appear to be there.

-AMT

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Harris
> Sent: Wednesday, February 23, 2000 8:44 PM
> To: [EMAIL PROTECTED]
> Subject: Localization of jsp files: JSP 1.1 spec vs. APM
>
>
> Hi all,
>
> the APM, p. 105 says:
>
> "The JavaServer Pages 1.1 specification allows you to deliver
> locale-specific files by following the naming convention used by resource
> bundles. This naming convention is the base file name followed by and
> underscore and the language variant. A country and a variante can also be
> used:
>
> jsp + _ + language
> jsp + _ + language + _ + country
>
> <etc>
> "
>
> So this is a nice idea, but it doesn't say:
>
> a) what the language and country values should be: codes or what?
> b) how to set the locale and country set by these things
>
> and
>
> c) the JSP 1.1. spec I have from Sun's site makes no mention at all of
> internationalization (dated November 30, 1999).
>
> Any clues?
>
> thanks in advance,
>
> Julian.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to