>>>>> "Anne" == Anne Racel <[EMAIL PROTECTED]> writes:

    Anne> I'm having troubles displaying error messages from my code.
    Anne> Within the code:

    Anne>              if(dvForm.getDtoList().size() == 0) {
    Anne>                 servlet.log("empty record set");
    Anne>                 errors.add("no records found",new 
ActionError("error.records.empty"));
    Anne>               }

    Anne> But on the page appears:

    Anne> null 
    Anne> null No records found 
    Anne> null No records found null

    Anne> Why am I getting the 'nulls'.  I'm assuming there's more information I'm not 
seeing.

I don't have a full answer for you, but those seem to correspond to one or more
of your "errors.header", "errors.footer", "errors.prefix", and "errors.suffix"
resources.  I would guess they are not set, but you appear to be getting a
"null" instead of an empty string displayed for them.  I've heard of that
problem occurring in some cases, but I don't remember what causes it.

What servlet container are you using?

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]

_______________________________________________
MVC-Programmers mailing list
[EMAIL PROTECTED]
http://www.netbean.net/mailman/listinfo/mvc-programmers

Reply via email to