а

Uploading a file using dhtmlx form with struts 2 action call


#1

I’m trying to upload a file using dhtmlx form but the file, fileContentType and filePath are getting null in struts 2 action class even I have tried using model-driven it’s not working any suggestions, pleasefileUpload.ts (2.0 KB)File_Upload_Action.java (2.3 KB)
struts.xml (1.9 KB)FileUploadModel.java (526 Bytes)
Or provide me an example for file upload with dhtmlx form using struts 2 action class