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

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

Receive udp packets in android gstreamer -