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
Instead of doing a new ActionErrors I have a function in my base Action
(U can just put it in the action that your are working on Baction).
public ActionErrors getErrors(HttpServletRequest request){
if (request.getAttribute(ERROR_KEY) != null) {
return (ActionErrors) reques
we probably need to know more about your code to really answer your
question. But here are few pointers.
when using actionErrors. note that many functions return boolean by
returning actionErrors.isEmpty();
in these cases if an error was found.. it will not bother to process the
other errors.. (
4 matches
Mail list logo