ApplicationSettings.getContextPath() and PrependContextPathHandler Juergen
On 11/19/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > * Juergen Donnerstag: > > > Please take a look at the examples. They are usually a good > > source for informaton. As far as I can tell, in Wicket you don't > > need it, at least I didn't. > > It works in the general case if you use relative paths, for > example: <img src="images/empty.gif"> > > But if you use WebApplication.mount(), those links cease to > reference the proper resource as in this case we need an absolute > path, and thus referencing the context path. > -- > Jean-Baptiste Quenot > aka John Banana Qwerty > http://caraldi.com/jbq/ > > ------------------------------------------------------------------------- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
