FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


jsp query





anmol
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?
anmol
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
Stubru Freak
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.
anmol
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 ?
Stubru Freak
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.
Related topics
JSP
SQL Basics
very simple PHP code to get search query string
Does frihost support jsp web apps?
Can FRIHOST Add jsp support?
Programming links, info, and tutorials
JSP and PHP Question
Help with mysql query
Creating a MYSQL "most common" query
a grouping question?
probleme jsp refresh
how can i refresh a jsp page?
connection JSP ms access
Jsp Error Cant Get Data from database
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.