• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
Now I am super curious what sports would be like if we allowed drugs and tiny ads.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic