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.
I've got a case where I need to have a website offer a "download results" link (i.e. return non-html dynamically created data). Normally I'd just used a DownloadAction, but the company is using Struts 1.1 (I know) and that feature doesn't exist.
My google-fu has failed me. How did people do this prior to Struts 1.2?
Just do it the same way you would do it from a Servlet: Set the headers, Get the output stream from the HTTPServletResponse object and write your data to it. Then just return a null ActionForward from your execute method.