<wicket:link><img src="../icons/facebookLogin_300_35.png" border="0"/> </wicket:link>
This code works fine in wicket 1.4.15 , and will generate a url like this : http://foobar.com/app/resources/foobar.login.LoginPanel/null/icons/facebookLogin_300_35.png The "null" in URL seems represents ".." in the resource path. But when I upgrade to 1.4.19 , the URL becomes : http://foobar.com/app/resources/icons/facebookLogin_300_35.png It is broken !!! Why ? And ... how to fix it ? (without hardcode the path in java code)