On Wed, 30 Oct 2002, Vernon Wu wrote:

>    Config.set(session, Config.FMT_LOCALE, obj);
> 
> I current pass a locale string as the third argument into the method.
> It works magically well, although I am not sure whether I use it right
> or not. According to the document on java.sun.com site, the third
> argument is an object. It shall be a locale string or a locale object?

It can be a String or a java.util.Locale; both are intended to work (and
teh Config.set() call is intended to be used with multiple configuration
settings), which requires the use of Object as the type.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to