I have a requirement to write serialized objects to a specific location. I am doing writeObject(response.getOutputStream(), object);
Where "object" is the intended class to be serialized
but the file is getting saved in the default Download folder as per the browser setting. I want to save it in a different location irrespective of browser settings.
Where "object" is the intended class to be serialized
but the file is getting saved in the default Download folder as per the browser setting. I want to save it in a different location irrespective of browser settings.
Comment