java - I want to display image using rest web services -


i need display image using rest web services have around 100 images in web content-->images folder want display using url

@get @path("/get/{filename}") public bufferedimage getfile(@pathparam("filename") string filename) throws exception {     return imageio.read(new file("e:/koticons/images/" + filename)); } 

Comments

Popular posts from this blog

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

java - Callback from new thread to class from which thread was initiated -