Hi Ashika, have a look to
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html François Le 23 févr. 2010 à 07:47, Ashika Umanga Umagiliya a écrit : > Hi friends, > > Is there a way to configure this in Wicket? > My client wants to add some static HTML pages by himself ,and it would be > difficult for him to add "<wicket:link> "tag for every hyper-link. > > thanks in advance. > > >> Hi Ashika, >> >> Give a try to this >> >> <wicket:link> >> <link rel="stylesheet" type="text/css" href="style/tablestyle.css"/> >> <link rel="stylesheet" type="text/css" href="images/style.css"/> >> </wicket:link> >> >> >> >> François >> >> Le 1 févr. 2010 à 05:59, Ashika Umanga Umagiliya a écrit : >> >> >>> Greetings, >>> >>> I've been developing my wicket application using maven+jetty and when I >>> deployed it in Tomcat , all the CSS styles were missing. >>> I noticed that all the CSS links have been modified by the container(or >>> wicket?) and added the prefix "../" >>> >>> Eg: In my pages I have: >>> >>> <link rel="stylesheet" type="text/css" href="style/tablestyle.css"/> >>> <link rel="stylesheet" type="text/css" href="images/style.css"/> >>> >>> But in the page Tomcat serves ,it has: >>> >>> <link rel="stylesheet" type="text/css" href="../style/tablestyle.css"/> >>> <link rel="stylesheet" type="text/css" href="../images/style.css"/> >>> >>> This works fine with Jetty ,what could be the problem? >>> >>> thanks in advance >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org