Mike Campbell wrote:
I want to be able to have a set of errors returned to an input page
such that I can spit out an error of a particular TYPE next to a
particular input, to indicate something in particular was wrong with
this particular field. I'm a bit lost on how to accomplish
Title: RE: question on errors, how to handle
Perfect Craig, thanks. I suspected there was something like this.
When you store an error in the ActionErrors collection, you have the
option to associate it with a particular field:
ActionErrors errors = new ActionErrors();
String username
of the page
and the actual message next to the culprit field.
-Nimmi
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 6:37 PM
To: [EMAIL PROTECTED]
Subject: Re: question on errors, how to handle
Mike Campbell wrote:
I want to be able
]]
Sent: Wednesday, January 31, 2001 6:37 PM
To: [EMAIL PROTECTED]
Subject: Re: question on errors, how to handle
Mike Campbell wrote:
I want to be able to have a set of errors returned to an input page
such that I can spit out an error of a particular TYPE next to a
particular input
4 matches
Mail list logo