This week's book giveaway is in the Reactive Progamming forum. We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line! See this thread for details.
Hi I am facing a strange problem with MAC OS. I have a button "Generate" on click of which it contacts a servlet and it generates a file and is written to response which makes the download confirmation box to be shown. on saving the file the file is saved in local system. This is behaving perfectly in NT. But in MAC the file gets downloaded but when I try to open it, it says unable to open. Is it anything to do with the servlet response or MAC OS? Please help Thanks in anticipation Mrutyunjay
Hi Mrutyunjay! What kind of file are you downloading onto the mac? If the servlet is on a windows machine and you're trying to download a file onto the mac it may not work because windows and mac have different file formats. Or maybe the reason why you can't open the file on the mac is that you have to tell mac os which application to open the file with. If the file's icon on the mac looks like a plain white sheet of paper then that is the problem. joe darwin think different
posted 17 years ago
Hi joe I am downloading a HTML page with a html table within it. Is there anything that has to be done to plain html? I have set the content type to some junk value so that the file gets downloaded and not opened in the browser window. Is it that I have to do something while writing the file, when the request is from MAC machine? Thanks Mrutyunjay
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?