This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
This is probably very easy to do but I can't find a way to do it. I have some information displayed on a JSP which I want to save to a simple text file. On selecting a button I want it bring up the "save as" dialog where the user can decide where to save the file to on their local machine. I can create the file and put data into it in Java, but I can't work out how to bring up the save as dialog from the JSP. Any help much appreciated! Also any good resources for this sort of thing would also be appreciated.
Bear thanks for your response. I had finally worked it out using the method you suggest - although I'm requesting the info from another JSP. How would I reference a servlet directly? Thanks for your response though, it doesn't seem to be documented anywhere that this is the way to do it.. altohugh more likely I was searching in the wrong place!