I have a case where I have to provide multiple file upload feature from one single screen. Code uses Struts implementation. I am not able to use FormFile. I am using simple File. The functionality works fine in case of local machine, i.e. server and browser on same machine. But when I try to upload files from other machine it fails. Please help me. It is very urgent.
Originally posted by amitesh kumar: I am not able to use FormFile. I am using simple File.
That's the problem. Using the java.io package to copy a file will work on a local system but not on a Server that's on a different system. I'd suggest you look at the samples that come with the download and get a better understanding of how to use the Struts upload classes because that's the best way to do it.