Hi Paul,
thanks for your replies...
>I've been using Flash and FileUpload for a while without issue..
how did you retrieve the file data?? when i look at he header info i can
clearly see the multipart boundaries, but no file date anywhere... in php it's
done using the $_FILE['filedata'] variable, in VBScript/C# i used a component
called ActiveFile...yet in java it only works when i post the data from a form
in an html file...
here's what i get when i use the Enumeration object to print out the headers
accept: text/*
content-type: multipart/form-data;
boundary=----------Ij5ei4cH2gL6KM7gL6gL6Ij5gL6KM7
user-agent: Shockwave Flash
host: localhost:8082
content-length: 30054
connection: Keep-Alive
cache-control: no-cache
cookie: JSESSIONID=2085075CF1E183FBE187054A5A820160
>are you using the most recent version of the Flash player?
i can only assume so, but i'll double check...the player that the browser uses
is v9, but the player that the ide uses is different...even if they were the
same version they still use different players so i'll publish it and try it in
the browser to see if it works...thanks for the suggestion.
>And from what I can tell from your patch is it only stops and exception from
>being thrown,
this is correct...i wouldn't recommend this patch to anyone...i just need it in
this specific case...the original way is the correct way by all means!
>But to simply answer your original question if you are on a windows
>machine change the jar to a zip file and open it up find the file you
>are replacing and replace it.
thank you...i just wanted to make sure i could do it this way...i'm a total
newbie at java/jsp etc
>How are you handling the request? I don't think the request object will have a
>parameter named filedata.
like thus...
fileItems =
servletFileUpload.parseRequest(pageContext.getRequest());
i'm using the pageContext to get the request in this sample because i pulled my
code out of the servlet i was using originally just to see if that was part of
the problem and put it in a scriplet...either way, there are no parameters in
the request...i used the Enumeration object to verify this...
thanks
b