Obtaining MessageResources from ExceptionHandler

2005-03-28 Thread Erik Weber
How can I obtain a reference to a non-default MessageResources instance from within the execute method of an ExceptionHandler? The signature is: public ActionForward execute(Exception e, ExceptionConfig config, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletRespo

obtaining MessageResources

2004-08-12 Thread Erik Weber
How do I obtain a MessageResources by name that I have configured in struts-config.xml from outside of an Action class, where I have no Struts object references to work with (in other words, starting with some static method call)? I tried using MessageResourcesFactory but I'm not having any luc