In Form Class :
In Handler Class:
In JSP Class:
Method writeImageToFile:
for your information,
my input form is dynamic base on listQuestion, if listQuestion have three images then in screen will be show three input file and if listQuestion have five images then in screen will be show five input file.
my problem is listQuestion have five images, when i'm submit the form, five images can uploaded on server n database but first image until fifth image is same. (all images is same with lastest image choosed) .
i know
my mistake is in the attribute of class form (attribute image) but i
'm confused how to make the all images can saved on list or array then when i try upload that image, i'm just iterate the list of image.
could you help me, what should i do?
regards,
Florencia.