• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Save File As...

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
This may be a very stupid question, and if so, I apologize in advance... I'm responsible for building the JSP's in my department, and in our company, the protocol is that the business dept gives me sketches, I build the JSP's, then hand them to the development team who puts the JAVA code behind them. Well, the business has asked me to do the front end for a File Save As function in a web application.
According to them, the form JSP asks for File Name, File Location and File Type and has a submit button. When the user fills out all this information, the application (remember, this is a browser interface) is supposed to save the data to the user's hard drive in the location that they entered, with the name they gave.
I don't think I've ever seen this before. Is it even possible? In my experince, when saving a file from the Internet, you right click on a hyperlink and get the system Save As dialogue. Can we skip that and create the functionality to save a file directly to a user's hard drive?
I'm thinking that they are confusing the form element for file upload with a download capability. Does anyone know how to do something like this? If I know what the developers will need in order to make a web application download a file it will make everything go faster, but I just can't picture this.
Any help appreciated,
thanks
Kat
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only thing I know of is using an signed Applet or ActiveX control embedded in your webpage with access to the local filesystem.
We prever links with "Save as ..." as you mentioned. And I think this is a common practise in webapps.
 
I was born with webbed fish toes. This tiny ad is my only friend:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic