On Tue, 19 Mar 2002, RAYMOND Romain wrote:

> 
> in the source examples given I don't understand the easy way to map a
> request with a particular ressource bundle which will permit to use
> <fmt:message key="test1" /> ... based on user's language preference. A
> solution coulb be to use a ruser session parameter but is there an
> "automatic" method ?
> 
> If you have an example or indications, thanks.

The <fmt:bundle> tag lets you set up a resource bundle family, either as

 - a new default for a particular scope
 - a scoped variable
 - the default for its body

You can specify this family with a basename.

Is that what you're asking?

-- 
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to