In my grails application, I urgently need to create a file on the current system, in which I need to save the information obtained from the table in the database. How to do this from inside the action.i controller has no idea about this. the body will help me.
Update:
I created the file as,
File File = New File ("file name.txt")
file.createNewFile ();
then I wrote the values ββof the fields of the mysql db table in it as,
file<<patient.id file<<patient.name . . .
it stores the data as continuous text, but I want to have a .doc file in which the data should be stored in a table. In googling, I found an APACHE POI to create a doc file, but I donβt understand how it works and how I should use it.
Thanks, Laxmi.p
laxmi source share