Hi,
I would like to know how one might go about designing a website with JSPs
which is internationlised.

Ideally, I would like to organise things in a similar way to ResourceBundles
so that JSPs for the appropriate client locale are served automatically. I
believe that this would require changes to the JSP server servlet since it
would need to detect the client's locale (either through prior knowledge or
other means), and process JSPs accordingly.

For example, I would like to have a set of JSPs like this:

index.jsp
index.jsp_en
index.jsp_en_uk
index.jsp_fr

A request for index.jsp would not return 'index.jsp' necessarily, but the
appropriate JSP for the client locale.
Of course, includes etc would also need to account for the locale.

Since Java offers so much support for I18N and L10N, it would be a pity if
JSPs didn't.

Channing

----
Channing Walton
Phone: +44 1483 44 88 48        http://www.cre.canon.co.uk/
Canon Research Centre Europe Ltd,1 Occam Court, Occam Road,
Surrey Research Park, Guildford, Surrey. GU2 5YJ U.K.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to