关于strtus中的Action类取得ApplicationResources_zh.properties中相关的值

类别:Java 点击:0 评论:0 推荐:
import org.apache.struts.util.MessageResources;
MessageResources resources = getResources(request);
String message = resources.getMessage("xxxx");

本文地址:http://com.8s8s.com/it/it12922.htm