If we use <html:errors > tag of the struts framework it would show the error messages at the top of the page. Is there some way which will show an error message besides the field eg if there is an error mesage for a listbox, then a * symbol with the error mesage should be dispalyed besides the listbox. Can any please help me with this problem.
Thanks, Gayatri.
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11945
posted
0
Instead of placing a single <html:errors> element on top of the page, you need to place an instance of the <html:errors> tag next to each input element and attach a "property" attribute to each of them to tell the taglib which error message to display from the list, if present.