How do I upload files using sdk3? I’m developing my project using flex and spring
iam using the jboss server
How do I upload files using sdk3? I’m developing my project using flex and
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On the flex side you will have to create a FileReference object and use the upload method to upload the file. The upload method requires a Request object which is the URL of your Spring controller that is going to handle your upload.
On the server side, you can have a CommonsMultipartResolver and since you will not be using spring beans.. you will have to get the file from request using something like this:
Hope this helps,
Regards,
Abdel Raoof