getLocale(request) and getResources(request)
2.从servlet的上下文中获取
MessageResources resources = (MessageResources)getServlet().getServletContext().getAttribute(bundle); String message = resources.getMessage(locale, key);
参考: Load Message Resources from Struts Action