public static String getLocalizedMessage(PageContext pageContext,
                                             String key) {
        return getLocalizedMessage(pageContext, key, null, null);
    }
public static String getLocalizedMessage ( PageContext pageContext , String key ) { return getLocalizedMessage ( pageContext , key , null , null ) ; }
Retrieves the localized message corresponding to the given key.
<p> The given key is looked up in the resource bundle of the default
I18N localization context, which is retrieved from the
<tt>javax.servlet.jsp.jstl.fmt.localizationContext</tt> configuration
setting.
<p> If the configuration setting is empty, or the default I18N
localization context does not contain any resource bundle, or the given
key is undefined in its resource bundle, the string "???&lt;key&gt;???" is
returned, where "&lt;key&gt;" is replaced with the given key.

@param pageContext the page in which to get the localized message
corresponding to the given key
@param key         the message key
@return the localized message corresponding to the given key