wood burning stoves 2.0*
The moose likes JSP and the fly likes Save to excel-take path from user Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Save to excel-take path from user" Watch "Save to excel-take path from user" New topic

Save to excel-take path from user

Tapas Chand

Joined: Dec 29, 2009
Posts: 23
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

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
Save File on Client Machine
Opening files in jsp
opening the excel sheet from servlet
jsp with POI FILE System concept.
how to download huge data in multiple excel using JSP