Lund wrote:
>
>
>
> newton.dave wrote:
>>
>> Lund wrote:
>>> I'm using Strurs 2.1.2 and the <s:file name="upload" label="File" /> tag
>>> in
>>> the jsp page.
>>> My problem is that while the fileUpload appears to work most of the time
>>> I
>>> do get java.io.FileNotFoundException: on the .tmp file that Struts uses
>>> as
>>> part of the process (prob 1 in 10 times). Once this happens of course
>>> the
>>> whole process breaks down.
>>>
>>> I boiled the whole process down to a simple test action and tested it
>>> repeatedly and also checked if anyone else had this issue. It appears
>>> that
>>> this issue was fixed as of 2.0.9 release but I am still seeing it.
>>>
>>> I'm using commons-fileupload-1.2.1 and commons-io.1.3.2
>>>
>>> Any ideas before I abandon struts 2 fileupload?
>>
>> Does the same thing happened with an actual release version of S2.1?
>>
>> Dave
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
>
>
> I've switched to release 2.1.6 and changed the multipartrequest processor
> to the Jason Pell version which has improved things. I'll re-post if I get
> the same issue again. What I noticed using the Jakarta processor was that
> the filename of the *.tmp used would be out of range. I.e jakarta was
> looking for 5.tmp whereas the file available was 7.tmp
>
>
>
The problem I'm having is that the <interceptor-ref name="execAndWait" /> is
interferring with the file upload. I haven't gone into in any more depth but
if I remove this interceptor then the FileNotFoundException stops
--
View this message in context:
http://www.nabble.com/Struts-2-file-upload-tp21915019p21936355.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]