ActionMessage通过MessageResources取得本地属性值

MessageResources mr = getResources(request);
ActionMessage message = new ActionMessage("page.success.message",paravalue);
String msg = mr.getMessage(request.getLocale(), message.getKey(), message.getValues());

 

 

 

你可能感兴趣的:(resource)