You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Erik Weber <er...@mindspring.com> on 2005/03/29 00:50:20 UTC

Obtaining MessageResources from ExceptionHandler

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, 
HttpServletResponse response);

How do I look up the messages resources declared as "FOO_MESSAGES" in 
struts-config.xml?

Thanks,
Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org