Sorry to bother, but I've hit a wall on this one. I'm trying to upload a file using a Strutsservlet, but ServletFileUpload comes up with an empty list. Here's my code:
I looked at the response using Fiddler and it looked fine (I can include if if people think it's useful).
So I put in all the log statements to try to figure out what went wrong, but they all look fine:
RequestType = POST
Req content-type is: multipart/form-data; boundary=----WebKitFormBoundaryfgssIVuNZTKaXZpA
file dir = C:\Program Files\tomcat5\apache-tomcat-5.5.28\temp
SizeMax & FileSize are both -1 (should mean no limit, right?)
Anyone have any idea what I'm doing wrong? There's a note about parseRequest() coming up empty if the request has already been processed. Could this be because of Struts (using Struts 2)? If so, anyone know any way around that?