After searching the documentation, I realized I should not have called super() in my page constructor. By removing this, I made things a little better :
In Firefox, it works smoothly. One instance is created on the first access. One instance is created again each time I relaod the page (using the reload button of the browser). The url is consistently : http://localhost:8080/ceagrap/app In IE6, it's another story. On first load, it looks the same as in Firefox. But if I reload the page, the url becomes : http://localhost:8080/ceagrap/app?wicket:bookmarkablePage=wicket-0:com.volgadev.cea.pages.PageReponses On each reload, the number in the url is incremented by 1 and two instances are created ! Pierre-Yves Pierre-Yves Saumont a écrit : > no, it is mapped to /app/* > > The url displayed in the browser is: > > http://localhost:8080/ceagrap/app?wicket:bookmarkablePage=wicket-18:com.volgadev.cea.pages.PageReponses > > When I load the page for the first time, the url above is displayed and > the number in "wicket:bookmarkablePage=wicket-18" increases slowly from > 0 to 18. Only then is teh page displayed. > > I just tried different versions of the application that I saved every > last day. The result varies randomly. For example, in a version from 3 > days ago, it was 10 in Firefox and 5 in IE6 ! > > Version is 1.2.1rc > > Pierre-Yves > > > Korbinian Bachl a écrit : >> IE usually uses many more concurrent connections to grab details and if you >> map the servlet to /* it could be this... >> >>> -----Ursprüngliche Nachricht----- >>> Von: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] Im Auftrag >>> von Pierre-Yves Saumont >>> Gesendet: Freitag, 11. August 2006 16:46 >>> An: wicket-user@lists.sourceforge.net >>> Betreff: Re: [Wicket-user] Component created 18 times in IE >>> versus twice in Firefox >>> >>> I tried to make a simple test case, but it does not show this >>> problem. >>> My first guess is that it has something to do with caching, >>> since my apps loads many elements from various places >>> (images, css, scipts, images from css, images from scripts >>> and even an html file loaded from within a script !) >>> >>> I'll see if I can strip down the application and isolate what >>> is causing the problem. >>> >>> Pierre-Yves >>> >>> >>> Matej Knopp a écrit : >>>> I'm not sure I understand what's going on. Could you provide a >>>> test-case or a quick start application? >>>> >>>> -Matej >>>> >>>> Pierre-Yves Saumont wrote: >>>>> Hi, >>>>> >>>>> I was curious to see how many instance of components were >>> created, so >>>>> I just added a counter to a panel. I appears that when I load the >>>>> page for the first time in Firefox, the panel component is >>> created twice. >>>>> (I would have guess once...) >>>>> >>>>> In IE6, in the same situation (server restarted), the same >>> component >>>>> is created 18 times. This seems really much! >>>>> >>>>> Each subsequent reloading of the page creates one more instance in >>>>> Firefox and 2 more instances in IE6. >>>>> >>>>> Any idea about the reason for such a difference ? And could it >>>>> eventually be a problem when in production ? >>>>> >>>>> Pierre-Yves >>>>> >>>>> >>>>> >>> --------------------------------------------------------------------- >>>>> ---- Using Tomcat but need to do more? Need to support web >>> services, >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make your >>>>> job easier Download IBM WebSphere Application Server >>> v.1.0.1 based on >>>>> Apache Geronimo >>>>> >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121 >>>>> 642 _______________________________________________ >>>>> Wicket-user mailing list >>>>> Wicket-user@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>>>> >>>> >>>> >>> -------------------------------------------------------------- >>> ----------- >>> Using Tomcat but need to do more? Need to support web >>> services, security? >>> Get stuff done quickly with pre-integrated technology to make >>> your job easier Download IBM WebSphere Application Server >>> v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> dat=121642 >>> _______________________________________________ >>> Wicket-user mailing list >>> Wicket-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>> >> >> >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user