public class StrutsMessageHolder extends java.lang.Object implements MessageHolder
Constructor and Description |
---|
StrutsMessageHolder(java.lang.String bundle_,
javax.servlet.http.HttpServletRequest q_)
Constructs a message holder that uses the given resource bundle
to lookup message keys.
|
Modifier and Type | Method and Description |
---|---|
void |
addError(org.apache.struts.action.ActionMessage error_)
Adds an error to the request using the default bundle for this Action.
|
public StrutsMessageHolder(java.lang.String bundle_, javax.servlet.http.HttpServletRequest q_)
public void addError(org.apache.struts.action.ActionMessage error_)
addError
in interface MessageHolder
q_
- the HttpServletRequest
with which to associate
the errorerror_
- the ActionError
representing the errorCopyright © 2003-2024 Appian Corporation. All Rights Reserved.