This worked: @Override public IResourceStream getResourceStream() { HSSFWorkbook workbook = getExcelWorkbook(new HSSFWorkbook()); byte[] bai = workbook.getBytes(); ByteArrayResource bar = new ByteArrayResource("application/vnd.ms-excel", bai); return bar.getResourceStream(); } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Saving-an-Excel-file-using-WebResource-tp3083581p3083657.html Sent from the Users forum mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org