PDA

View Full Version : accessing file on a different server


ynotlim
12-07-2006, 01:24 AM
I have files that I want to open in my java application that is located on another server.

Currently the pdf files are on the same server as the program. I have more pdf files that i need to access on another server.

here is the current code for same server:

filename = servletcontext.getRealPath(rb.getString("URL")) + "/" + folder_code + "/" + filename;

thanks