On one of my .jsp's I have to display the details (records) of a bean. Simple enough.
The problem is that it won't display. I have no explanation.
Now, the strange thing is that the property rows is empty for some reason (verified with a small scriptlet), even though all the other data that I assign to "myForm" shows up on the page and, right before I return the mapping.findForward, I double check to make sure that there is something inside rows (there is).
I have no explanation for this. Of the several dozen pages I've got (many of which I do very similar things) this is the only one doing this.
Are there are known bugs with nested or ArrayLists in Struts that I'm not aware of, or any other reason why it might be acting like this?
posted 11 years ago
Well, I psuedo-solved the problem.
It seems that I can't pass any ArrayLists or Lists to the form for some reason with that one particular page (Always empties... have no idea why).
Instead I just threw the list into the request and retrieved it on the jsp.