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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -