{"action":"created","issue":{"url":"https://api.github.com/repos/hdiv/hdiv/issues/74","labels_url":"https://api.github.com/repos/hdiv/hdiv/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/hdiv/hdiv/issues/74/comments","events_url":"https://api.github.com/repos/hdiv/hdiv/issues/74/events","html_url":"https://github.com/hdiv/hdiv/issues/74","id":67526017,"number":74,"title":"File upload fails on using Multipart File Upload in HDIV 2.1.9","user":{"login":"dhinesherode91","id":10953294,"avatar_url":"https://avatars.githubusercontent.com/u/10953294?v=3","gravatar_id":"","url":"https://api.github.com/users/dhinesherode91","html_url":"https://github.com/dhinesherode91","followers_url":"https://api.github.com/users/dhinesherode91/followers","following_url":"https://api.github.com/users/dhinesherode91/following{/other_user}","gists_url":"https://api.github.com/users/dhinesherode91/gists{/gist_id}","starred_url":"https://api.github.com/users/dhinesherode91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhinesherode91/subscriptions","organizations_url":"https://api.github.com/users/dhinesherode91/orgs","repos_url":"https://api.github.com/users/dhinesherode91/repos","events_url":"https://api.github.com/users/dhinesherode91/events{/privacy}","received_events_url":"https://api.github.com/users/dhinesherode91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-10T06:50:01Z","updated_at":"2015-04-13T16:49:40Z","closed_at":null,"body":"I am using HDIV 2.1.9 in my application containing Struts 1.3.8 and Spring 3.2.\r\nHDIV works fine in all modules except in Multipart file upload.\r\n\r\nInitially while working on struts multipart upload forms, I got the following error when my page renders.\r\n\r\n'HTTP Status 500 - In order to enable HDIV multipart processing, MultipartResolver must be of org.hdiv.web.multipart.HdivCommonsMultipartResolver or org.hdiv.web.multipart.HdivStandardServletMultipartResolver type'.\r\n\r\nI was using 'org.springframework.web.multipart.commons.CommonsMultipartResolver' previously and when I chaged that to \r\n'org.hdiv.web.multipart.HdivCommonsMultipartResolver', the page rendered properly without any issues.\r\n\r\nBut When I browse any of the file and click Upload button, the upload is not successful and always throws the validation message\r\n'Please select a file to upload'.\r\n\r\nOn Debugging I could find that in my Struts Action, the request contains the file object which is always null.\r\n\r\nAm I missing any Multipart configuration or anything else here ?\r\n\r\nBelow is the  log trace once I click the Upload button.\r\n\r\n\"10 Apr 2015 12:08:26 DEBUG org.hdiv.web.multipart.HdivCommonsMultipartResolver - Found multipart file [formFile1] of size 11574 bytes with original filename\r\n[yyyyyyyyyyy.jpg], stored at [D:\\tomcat-blue\\tomcat_7\\7.0.42\\work\\Catalina\\localhost\\xxxxx\\upload_c0091696_2af2_422b_8d8e_b119ab2dc039_00000014.tmp]\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.util.HDIVUtil - Stripping jsessionid from url /xxxxx/element/uploadFiles.do\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.session.SessionHDIV - Getting page with id:25\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.session.SessionHDIV - Getting page with id:25\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.session.StateCache - Page with [28] added to the cache.\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.session.SessionHDIV - Added new page with id:28\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.session.SessionHDIV - Added new page with id:28\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.web.multipart.HdivCommonsMultipartResolver - Cleaning up multipart file [formFile1] with original filename [celebrations.\r\njpg], stored at [D:\\tomcat-blue\\tomcat_7\\7.0.42\\work\\Catalina\\localhost\\xxxxx\\upload_c0091696_2af2_422b_8d8e_b119ab2dc039_00000014.tmp]\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.filter.RequestWrapper - New RequestWrapper instance.\r\n10 Apr 2015 12:08:26 DEBUG org.hdiv.filter.ResponseWrapper - New ResponseWrapper instance.\"\r\n\r\n\r\nPlease share your thoughts.\r\n\r\n\r\nThanks in Advance."},"comment":{"url":"https://api.github.com/repos/hdiv/hdiv/issues/comments/92422899","html_url":"https://github.com/hdiv/hdiv/issues/74#issuecomment-92422899","issue_url":"https://api.github.com/repos/hdiv/hdiv/issues/74","id":92422899,"user":{"login":"gillarramendi","id":503110,"avatar_url":"https://avatars.githubusercontent.com/u/503110?v=3","gravatar_id":"","url":"https://api.github.com/users/gillarramendi","html_url":"https://github.com/gillarramendi","followers_url":"https://api.github.com/users/gillarramendi/followers","following_url":"https://api.github.com/users/gillarramendi/following{/other_user}","gists_url":"https://api.github.com/users/gillarramendi/gists{/gist_id}","starred_url":"https://api.github.com/users/gillarramendi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillarramendi/subscriptions","organizations_url":"https://api.github.com/users/gillarramendi/orgs","repos_url":"https://api.github.com/users/gillarramendi/repos","events_url":"https://api.github.com/users/gillarramendi/events{/privacy}","received_events_url":"https://api.github.com/users/gillarramendi/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T16:49:40Z","updated_at":"2015-04-13T16:49:40Z","body":"The configuration is the same.\r\nSet the log in debug level, maybe you can see more info there."}}