One lesson I've learned is that, in the struts-config.xml, make sure that the form name and the attribute name for that form are the same. Otherwise things can get messed up and multiple instances of the form will get created if you use the incorrect case somewhere. It'll happen without any visible errors, but it'll result in form fields being set or not set in strange ways.

Error handling:

  • A good alternative to using html:errors. Use logic:messagesPresent.
Version 9.1 last modified by Geoff Fortytwo on 11/07/2010 at 19:18

Attachments 0

No attachments for this document
Website Top
Send Me Mail!:
   g42website4 AT g42.org
My Encyclopaedia Blog

Creator: Geoff Fortytwo on 2008/05/12 01:07
Copyright 2004-2007 (c) XPertNet and Contributing Authors
1.3.2.9174