Hi,
To make the ActionForm include fields to upload the file, I change
to
.
Then when I update the actionForm with more than 200 fields, I got the error "java.lang.OutOfMemoryError:
Java heap space".
I use a map in the actionForm to store those fields values as:
.
If I decrease the fields to less 200, it works fine. But When there is over 200 fields, it will has the memory error though the form does not include the upload file.
I am wondering why I could upload like 2M file with the form without problem, but it can not handle the case when the form has many fields. And solutions for it? In some cases, it will have more fields like 300 or 400 a form. And I do need upload feature as well.
Thanks for the help!!