I have spent the last several hours trying to figure out why my Struts application was not behaving correctly - the code that I have in one area works fine when initializing multiboxes, but the same code in a different area does not initialize the multiboxes correctly. I know enough to realize that if the program is behaving differently, then the code couldn't be the same. So, I copy/paste the html:multibox snippet to make sure the JSP is the same. I inspect the values being sent to make sure they are the same. Everything appears identical, except for the results. So, on a whim, I try to look at the generated java code (e.g. from the JSPs) - and the code for the html:multibox tag is different! (Differences shown below). Is this a bug or is this something that is wrong with my configuration?
I am on JBoss 4.0.1, and I think I am on Struts 1.2.
Thank you SO MUCH in advance if you can help me resolve this mystery.
RB
My JSP (in both pages) looks like:
The generated Java code is shown below - with a comment indicating the section that is missing in one of the files.