Hi, I did read in File using StrutsForm bean and put that into the HashMap. Now, when I try to get it out of the hashMap with
like, 1. FormFile file = (FormFile)uploadForm.get("uploadedFile") 2. HashMap map = new HashMap(2); 3. map.put("uploadedFile", file); 4. FormFile file = (FormFile)hashMap.get("uploadedFile); Now, it works fine in window environment, but once I did move the code to Linux side, it throws ClassCastException. your comments would be appreciated. thanks in advance. John