Does this approach work for you?
Make sure your messages are filled in
(eng.admin.group.error.groupname.required) etc.
You should have no need to play with Request, the GET/SET methods should be
populated.
-Alex
public ActionErrors validate(ActionMapping mapping,
: ActionError problem
Does this approach work for you?
Make sure your messages are filled in
(eng.admin.group.error.groupname.required) etc.
You should have no need to play with Request, the GET/SET methods should
be populated.
-Alex
public ActionErrors validate(ActionMapping mapping
PROTECTED]]
Sent: Tuesday, January 29, 2002 4:19 PM
To: Struts Users Mailing List
Subject: RE: ActionError problem
Alex-
I do need to get the session object from the request, so that I can
insure that an object has been set for the operation. It seems to make
no difference if I use it or not - I tried
Title: ActionError() problem
You
have answered your own question :)
Use a
message properties file, and have the property value as something like
error.lineError=error at line {0}
then
call
new
ActionError( "error.lineError", lineNo );
the
{0} will be replaced with value0
(likewise
4 matches
Mail list logo