File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Save to excel-take path from user Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Save to excel-take path from user" Watch "Save to excel-take path from user" New topic
Author

Save to excel-take path from user

Tapas Chand
Greenhorn

Joined: Dec 29, 2009
Posts: 12
i am saving some records in an excel file on click of a button
currently i am hardcoding the path like

but i want to take the path from user,i.e.,something like 'save as' option
how can i do it?
please help.
Thanks in advance.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Use a form field?

Note, however, that you, the server-side web application, cannot write to arbitrary locations on the client-side (browser) hard drive. If you want the user to be able to save the file anywhere then you need to have the user (browser) download the file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Save to excel-take path from user
 
Similar Threads
opening the excel sheet from servlet
Opening files in jsp
jsp with POI FILE System concept.
Save File on Client Machine
how to download huge data in multiple excel using JSP