Francois Meillet wrote > path = new ClassPathResource("descriptors/hc").getFile(); > the path isn't null ?
Nope. By the time we get to the line : return new FileResourceStream(new File(path, getModelObject().getFile())); the path isn't null and this ends up instantiating a FileResourceStream with a file that both has the correct path and exist()s... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Download-serves-empty-files-with-correct-number-of-pages-tp4670117p4670121.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