sorry for disturbance
after adding the 2 lines in Application , it's solved.
getResourceSettings().setParentFolderPlaceholder($up$);
getResourceSettings().addResourceFolder(getServletContext().getContextPath
());
2012/2/12 smallufo small...@gmail.com
wicket:linkimg
wicket:linkimg 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