Uses of Class
org.apache.struts.util.MessageResources
Packages that use MessageResources
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
This package provides objects that encapsulate access to
the request and session-scoped resources to service
command processing.
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file.The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
The validator package provides a series of classes to validate
ActionForm type of input.-
Uses of MessageResources in org.apache.struts.action
Fields in org.apache.struts.action declared as MessageResourcesModifier and TypeFieldDescriptionprotected MessageResourcesActionServlet.internalThe resources object for our internal resources.Methods in org.apache.struts.action that return MessageResourcesModifier and TypeMethodDescriptionActionServlet.getInternal()Return theMessageResourcesinstance containing our internal message strings.protected MessageResourcesRequestProcessor.getInternal()Return theMessageResourcesinstance containing our internal message strings.protected MessageResourcesAction.getResources(HttpServletRequest request) Return the default message resources for the current module.protected MessageResourcesAction.getResources(HttpServletRequest request, String key) Return the specified message resources for the current module. -
Uses of MessageResources in org.apache.struts.chain.contexts
Methods in org.apache.struts.chain.contexts that return MessageResourcesModifier and TypeMethodDescriptionActionContext.getMessageResources()Return the default message resources for the current module.ActionContext.getMessageResources(String key) Return the specified message resources for the current module.ActionContextBase.getMessageResources()ActionContextBase.getMessageResources(String key) ServletActionContext.getMessageResources()ServletActionContext.getMessageResources(String key) Methods in org.apache.struts.chain.contexts with parameters of type MessageResourcesModifier and TypeMethodDescriptionvoidActionContext.setMessageResources(MessageResources resources) Set the default message resources for the current module.voidActionContextBase.setMessageResources(MessageResources messageResources) voidServletActionContext.setMessageResources(String key, MessageResources resources) Store the message resources for the current module under the given request attribute key.voidServletActionContext.setMessageResources(MessageResources resources) -
Uses of MessageResources in org.apache.struts.config
Methods in org.apache.struts.config that return MessageResourcesModifier and TypeMethodDescriptionConfigHelper.getMessageResources()The application resources for this application.ConfigHelperInterface.getMessageResources()The application resources for this application. -
Uses of MessageResources in org.apache.struts.util
Subclasses of MessageResources in org.apache.struts.utilModifier and TypeClassDescriptionclassConcrete subclass ofMessageResourcesthat reads message keys and corresponding strings from named property resources in a similar manner (see modes below) thatjava.util.PropertyResourceBundledoes.Fields in org.apache.struts.util declared as MessageResourcesModifier and TypeFieldDescriptionprotected static MessageResourcesResponseUtils.messagesThe message resources for this package.Methods in org.apache.struts.util that return MessageResourcesModifier and TypeMethodDescriptionabstract MessageResourcesMessageResourcesFactory.createResources(String config) Create and return a newly instansiatedMessageResources.PropertyMessageResourcesFactory.createResources(String config) Create and return a newly instansiatedMessageResources.static MessageResourcesMessageResources.getMessageResources(String config) Create and return an instance ofMessageResourcesfor the created by the defaultMessageResourcesFactory. -
Uses of MessageResources in org.apache.struts.validator
Methods in org.apache.struts.validator that return MessageResourcesModifier and TypeMethodDescriptionstatic MessageResourcesResources.getMessageResources(HttpServletRequest request) RetrieveMessageResourcesfor the module.static MessageResourcesResources.getMessageResources(ServletContext application, HttpServletRequest request, String bundle) RetrieveMessageResourcesfor the module and bundle.Methods in org.apache.struts.validator with parameters of type MessageResourcesModifier and TypeMethodDescriptionstatic String[]Resources.getArgs(String actionName, MessageResources messages, Locale locale, Field field) Gets the message arguments based on the currentValidatorActionandField.static StringResources.getMessage(ServletContext application, HttpServletRequest request, MessageResources defaultMessages, Locale locale, ValidatorAction va, Field field) Gets theLocalesensitive value based on the key passed in.static StringResources.getMessage(MessageResources messages, Locale locale, String key) Gets theLocalesensitive value based on the key passed in.static StringResources.getMessage(MessageResources messages, Locale locale, ValidatorAction va, Field field) Gets the locale sensitive message based on theValidatorActionmessage and theField's arg objects.