wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChambreNoire <...@tentelemed.com>
Subject Re: Download serves empty files with correct number of pages !?!
Date Mon, 30 Mar 2015 16:15:12 GMT
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message