File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Downloadinf a file from server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Downloadinf a file from server" Watch "Downloadinf a file from server" New topic

Downloadinf a file from server

madupathi arun

Joined: Feb 25, 2008
Posts: 23

i am having folowing problem

I need to take the user specific directory and pass that to servlet file

I am calling document.execCommand('SaveAs','1','filename.xml'); on the click of download button

but I was unable to pass that file directory using this

can aybody help me on this
Arthur Buliva
Ranch Hand

Joined: Mar 08, 2006
Posts: 101
I get that what you want is that when someone clicks a button labelled, say, DOWNLOAD, the "Save As" dialog appears, no?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Downloadinf a file from server
Similar Threads
JavaBean and JSP.
creating a backup
Downloadinf a file from server
Locating a file from servlet using a relative path