Thanks David

But I still don't know which value should I set for name property of 
<html:errors />, that is, which value should I fill xxx in <html:errors 
name="xxx" /> ?

Talos


----- Original Message ----- 
From: "David Chapman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, March 19, 2008 11:36 AM
Subject: Re: About ActionErrors.GLOBAL_ERROR


My first reply to mailing list. Be gentle :) *

ActionErrors.GLOBAL_ERROR* is deprecated.

Use *ActionMessages.GLOBAL_MESSAGE* instead.

From ActionMessages.java ...

*public static final String GLOBAL_MESSAGE =
        "org.apache.struts.action.GLOBAL_MESSAGE";**
*
djc

On Tue, Mar 18, 2008 at 8:06 PM, Chen Chunwei <
[EMAIL PROTECTED]> wrote:

> Hi all,
>
> Can anyone tell me that the real value of constant
> ActionErrors.GLOBAL_ERROR? Or where to find it?
> Actually, I want to use the tag <html:errors /> to only display the error
> defined with ActionErrors.GLOBAL_ERROR.
>
> I have the struts javadoc api, but I cannot access the Internet.
>
> Thanks.

Reply via email to