This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
DynaValidatorForm and problems with BeanUtils.populate
posted 11 years ago
Hi there, I am using a DynaValidatorForm and one of it's properties is an Array of Forms called markupEntries. I am having no trouble displaying the contents of each item in markupEntries on my jsp(edit.jsp). However, when I click on the submit button on this jsp, i get an ArrayIndexOutOfBoundsException and it does not even forward to the Action.
I know this is because an array of size 0 is being created, rather than the required size.
Does anyone know how to fix this? I have tried using DynaActionForm,but I still get the same error.
Thanks in advance
hmm..i suppose those tags are secret code for java..