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
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.