im using Wicket 6.15

Does someone know how to  include a static HTML file from the filesystem in my 

I have a folder on my machine like /local/wtr/   with two files  header.html   
and footer.html in it.
The files are not in the docroot of my server, but somewhere in the filesystem.

I would like to include these Files with:

new Include("include", "header.html");

My approach is:

getSharedResources().add("extern", new FolderContentResource(new 
mountResource("/resource/", new SharedResourceReference("extern"));

But I don’t know how to use it  with  new Include()?
How to get the correct path to the header.html?

Any help would be fine. Thanks a lot!


Bayerischer Rundfunk; Rundfunkplatz 1; 80335 München
Telefon: +49 89 590001; E-Mail: i...@br.de; Website: http://www.BR.de

Reply via email to