I am also having the same problem.I woked on that for many days,But i couldn't find a solution.But what i came to know is , it is not possible to download a file directly from the porlet.You should go to a non-portlet url.
Hello, As I understand if I need to download file the separate servlet should be created. Maybe you could define steps how you did that? The functionality I need is to give user possibility to download selected file which is stored in DB. Thanks in advance. Ina