WriteTag.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:lams 作者:
/**
 * Retrieve format string from message bundle and return null if
 * message not found or message string.
 *
 * @param formatKey value to use as key to search message in bundle
 * @exception JspException if a JSP exception has occurred
 */
protected String retrieveFormatString(String formatKey) throws JspException {
    String result =
        TagUtils.getInstance().message(
            pageContext,
            this.bundle,
            this.localeKey,
            formatKey);

    if ((result != null)
        && !(result.startsWith("???") && result.endsWith("???"))) {

        return result;

    } else {
        return null;
    }

}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号