1 posts in topic
Flat View  Flat View

Posted By:   Micheal_Chao
Posted On:   Wednesday, August 7, 2002 07:32 AM

How can I remove those null

I generate some errors message with ActionErrors validate function in the actionForm.

The message came out when it need it but they always got a null at beginning and at the end of the messages when it display on the browser.


Re: <html:error/>

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, August 7, 2002 07:40 AM

I think the first "null" is the content of the "errors.header" message key, and the second is the content of "errors.footer". Add actual content for these keys, in your ApplicationResources.properties (e.g. "please fix the following errors" for the header, and maybe an "

" for the footer), and I think it will display the content, instead of "null".

About | Sitemap | Contact