开发者

from server check for file on another server

I have two server may be they will be at same network or not,while doing some work in jsp page at server 1 ,I want to ch开发者_如何学JAVAeck if file exist or not on the second server , How I can do this?


In case you are determined to do this in java, following is one solution:

  1. You need to create a server application on server2 which listens at a port and responds to some requests.
  2. You need to create a client application that communicates with the server and get the required information.

Hope this helps!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜