I got it, it's

Application.class.getResourceAsStream("file.pdf");

(assuming file.pdf is directly under /WebContent).

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-Reference-a-WebContent-File-from-Wicket-tp4454190p4457546.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to