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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -