i've a jsp file that displays some textarea ,,, now i want to copy the value of this text area onto the clients machine
how to do this?
how do i do this
coz if i use jsp it'l write the file on the server side
java script has limited file handlin capabilities
| anmol wrote: |
how do i do this
coz if i use jsp it'l write the file on the server side
java script has limited file handlin capabilities |
You can ask the client. You really can't do more. That wouldn't be secure.
ya i'l ask the client to click on a button(called export)
after clickin some client side script comes into bein to write contents of the text area onto the clients machine itself .
now wat script to use ? n how to do ?
I don't know a lot of jsp, but basically there's two choices:
Store the file server-side, then make a link for the client to download it.
Make the file server-side, and send it to the client as the output response to the form he clicked.