Problem with download API

Dear Cuba support.

I follow the direction in Downloading Files from Storage - CUBA Platform. Developer’s Manual to write API for download file.

When i run my API in localhost, it OK but when i run on server Tomcat, it show only the file name, not the image. The detail is in attach.

6-17-2017 5-56-37 PM

Hello!

Am I right that you use 6.1 version of the CUBA? Do you use the same URL while downloading an image in the both cases?