I am working on a application where I am using adobe flex. I have a requirement wher I have to upload file to the server. System allows user to browse file from local machine and flex uploads it to the server.
Now there is a upload url, its a jsp page which gets mutipart/form-data content from the request, opens an outputstream and writes the content of the inputstrem to the file.
Above jsp writes the content of browsed file to d:/naseem.txt
Problem which I am facing is besides the actual content, it also write something else.