lundi 4 juillet 2016

Uploading multiple files with single html file tag in struts 1.x

I want to upload multiple files in struts 1.x . At my Jsp page it's only single html file tag.

I had old class which uses 'com.oreilly.servlet.MultipartRequest' .Here It uses request in its constructor and with single html file tag , it uploads multiple files successfully to server.

If I convert that class to struts1.x action class, I am not able to upload multiple files using form bean.

I tried through Java script,

In java script I can get all attached files as html file object. I tried creating other through that html file object. But how can i assign file to

Aucun commentaire:

Enregistrer un commentaire