Thanks a lot. it works for me.
Denis
-Original Message-
From: Varun Garg [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 11:55 AM
To: 'Struts Users Mailing List'
Subject: RE: struts: error/message handling: saveErrors
Instead of doing a new ActionErrors I have a func
Unfortunately struts does not provide such functionalities, I doubt.
Denis
-Original Message-
From: Jamie M. Guillemette [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 11:59 AM
To: Struts Users Mailing List
Subject: Re: struts: error/message handling: saveErrors
we probably need to
Mailing List
Subject: struts: error/message handling: saveErrors
Hello, all,
I have the following problem:
In ActionA{
ActionErrors errors = new ActionErrors();
errors.add( ActionErrors.GLOBAL_ERROR, new ActionError(
"Af
o: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 11:48 AM
Subject: struts: error/message handling: saveErrors
> Hello, all,
>
> I have the following problem:
> In ActionA{
>
> ActionErrors errors
Hello, all,
I have the following problem:
In ActionA{
ActionErrors errors = new ActionErrors();
errors.add( ActionErrors.GLOBAL_ERROR, new ActionError(
"Afailed" ) );
saveErrors( request, errors );
}
In ActionB{
You can see examples for this message in ApplicationResourses.properties
file. A parameter is passing as {0} for the one parameter. Also see some
source code in XxxxAction.java how to pass a message with a parameter.
Dileep John wrote:
hi
any one know to set parameterised error messages
Title: struts - error message
hi
any one know to set parameterised error messages using struts.
At present I am able to set the error messages like the
"username already exists" by using the property file.
But I need to display " username Dileep already exists&
7 matches
Mail list logo