This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am working with a struts appication. I need to code for making a download option for xml file which would be created dynamically. While creating, the destination is not decided as its a web application, more users may try to download. This is should not create inconsistency.
All these two actions(creating xml file, download option/open xml file window) should be done on a single click.