You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Gao, Gang" <ga...@verizon.com> on 2001/09/27 01:32:58 UTC

ActionError() problem

Hi,
How can I use ActionError() to construct the error message that is not
define in the message property file? Who can give me a example. I want
display a dynamic error message such as "ith line got some error !".
Who can give me a explanation about second parameter for following
ActionError method

public ActionError(java.lang.String key,
                   java.lang.Object value0)
	Construct an action error with the specified replacement values. 
Parameters: 
	key - Message key for this error message 
	value0 - First replacement value
	Thanks in advance!
	Gang