Cool trick Igor, I didn't think of this before. On 2/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > the trick is to append a random number as a query parameter. that way the > browser has to fetch it again because it thinks its a different document. > > -Igor > > > On 2/28/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > Set the headers on the response. > > > > The browser support is a bit flaky as I understand it, from the numerous > caching problems with pages across browsers (safari, IE and FF work > differently). > > > > Martijn > > > > > > > > > > On 2/28/06, Anders Peterson <[EMAIL PROTECTED] > wrote: > > > Hi, > > > > > > On one page I'm displaying dynamic charts (JFreeChart) as images. The > > > charts, the data they're based on, are constantly changed by the users. > > > > > > The problem (as I understand it): The web browser doesn't know that the > > > image has changed and therefore (sometimes) uses a cached image. Which > > > means incorrect data is displayed. > > > > > > How can I make sure the browser always asks for a fresh image? > > > > > > /Anders > > > > > > > > > Image tmpImage2 = new Image("image2", new SpclChartResource() { > > > > > > public AbstractChartFactory getFactory() { > > > > > > this.setHeight(300); > > > this.setWidth(600); > > > > > > DefaultCategoryDatasetFactory retVal = new > DefaultCategoryDatasetFactory(); > > > retVal.setLegend(true); > > > > retVal.setType(AbstractChartFactory.TYPE_BarChart); > > > ... > > > -- > > > http://ojalgo.org/ > > > > > > Mathematics, Linear Algebra and Optimisation with Java > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > > that extends applications into web and mobile media. Attend the live > webcast > > > and join the prime developer group breaking into this new coding > territory! > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > -- > > Living a wicket life... > > > > Martijn Dashorst - http://www.jroller.com/page/dashorst > > > > Wicket 1.1.1 is out: > http://wicket.sourceforge.net/wicket-1.1 > >
------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user