Implement a servlet to process image request