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.
Originally posted by Joe Ess: Welcome to the JavaRanch, Chetan. You are going to have to give us some more information so we can help you. Exactly what are you trying to accomplish? What are you having problems with?
The scenario is as follows. #1) After logging in the user edits/creates a profile. #2) This info is then fed into a Stored procedure which returns a ref cursor. #3)A resultset is obtained from the cursor and then i iterate through the resultset.The contents fetched from the resultset(String) should then be written onto the directory specified by the user in step 1 on the user's machine.
Can you please suggest a way out for this.I have no clue as to how i get a handle to the user's machine even if I am equipped with his host information.I can write into a file on the server itself but i am lost when it comes to writing into a file on another machine on the same network. I have the host info from the request object.