I am developing a web application using Adobe Flex. I would like to retrieve the data entered in the text area and save them into a new text file.
Can anyone please let me know the details to write data into a text file ?
Thanks,
Serenity.
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.
Where are you trying to store the data? on the server or client side? You will have have access to client’s file system to write a file (due to security reasons). If you need to create the file on server, you will have to submit the data onto a servlet, jsp or some controller action (for frameworks like spring,struts etc). And then write it onto your server’s file system.
Update: Since, you are a beginner, I suggest you read: Create Flex 4 and Java Web applications . The tutorial is actually saving data into database. You can instead, save the contents into a file. And you might want to change the field types in the flex form. But this tutorial can give you a start 🙂