0
How to create a java code to serve a file on a network?
Create a java program which can serve files on a network and that file can be downloaded from a another program on the same network.
2 Réponses
+ 3
use sockets :
read the files in bytes and then serve it in network using sockets.
+ 3
Or use a web server framework as Spark ( http://sparkjava.com ) or Spring ( https://spring.io ).