Reputation: 159
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.
Upvotes: 0
Views: 1381
Reputation: 19353
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 :)
Upvotes: 1