I have exactly the same problem and I am using wicket 1.2.6. I am certain that the htc file has been copied.
If I include "gif"/"css" files, it is OK. And by look in http message, it is as follows: GET /mytest/nested/resources/wicket.examples.nested.MenuPanel/menupanel.css GET /mytest/nested/resources/wicket.examples.nested.MenuPanel/dropmenu.gif However, if I include "htc" file, it is wrong, And by look in http message, it is as follows: GET /mytest/csshover.htc It is very strange! Eelco Hillenius wrote: > >> > >> > Could anyone tell me why the above technique did not work for *.htc >> files? >> >> >> Are you sure .htc files are being copied/included in your build process? > > Yeah, it could be that those files aren't copied. > > Also, what does you log say... Wicket logs a warning when it can't > serve a package resource properly. And the ultimate test is to set a > breakpoint in WicketServlet/Filter#get and see what kind of requests > are made. > > Eelco > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a11535295 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user