[flexcoders] Re: FileReference upload passing parameters in URLRequest

2007-10-30 Thread letterpigeon
Ah, I think I got it. I thought the variables I passed in request.data would go to the HttpRequest object on the servlet. But it turns out, as you said, it's part of the multipart message which I can get a hand on while parsing it. Thanks a lot Abdul. Ban --- In flexcoders@yahoogroups.com,

[flexcoders] Re: FileReference upload passing parameters in URLRequest

2007-10-29 Thread letterpigeon
Hi, I've tried both method, GET and POST, but still couldn't get the parameters to be passed correctly. Thanks. Ban --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Note sure, but you might need to set the method in URLRequest. request.method =

[flexcoders] Re: FileReference upload passing parameters in URLRequest

2007-10-29 Thread letterpigeon
Can someone please help? Thanks in advance. Ban --- In flexcoders@yahoogroups.com, letterpigeon [EMAIL PROTECTED] wrote: Hi, I've tried both method, GET and POST, but still couldn't get the parameters to be passed correctly. Thanks. Ban --- In flexcoders@yahoogroups.com, Abdul

Re: [flexcoders] Re: FileReference upload passing parameters in URLRequest

2007-10-29 Thread Abdul Qabiz
Hmm, that's strange... If you send data with file-content, it would be multipart message on server-side, are you doing things correctly on server? You can use service-capture, charles, firebug etc to see what data Flex app is sending to server? This way, you can figure out the problem area.