This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Dear All, We have java class files deployed on our server (Tomcat) , the server is linux based , we also have 4 WINDOWS clients , the java file contains the logic of creating file on the server , now the thing in which I am stucked is that how to copy this file from LINUX server to WINDOWS client machine , please guide.
Originally posted by Jesper Young: In more detail:
Put the file somewhere on the server where it's accessible by Tomcat.
Present the user with a web page containing a link that points to the file on the server.
The user clicks on the link and saves the file on his/her disk using the browser.
I tryed this approach but ather than asking for the save option the whole file in opoened in the browser.I mean to say that all of the text of the file is displayed on browser window/page rather than asking me for the save or open option.