This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi guys, I am trying to download a file using DownloadAction class. It's not throwing any error. I am able to download the file but the downloaded file is being shown empty. For using DownloadAction class we need to extend it and implement getStreamInfo method. I am not extending my action class directly but I am instantiating a class in my action class which, in turn, is extending DownloadAction class and defining getStreamInfo function. Can this be a problem? I am using the following code snippet for downloading :