Em 18/03/14 11:20, Geoffrey De Smet escreveu:
>
> In optaplanner-webexamples/src/main/webapp/vehiclerouting/solving.jsp:
>
> >  </div>
> >  </div>
> >  </div>
> >
> >  <script src="<%=application.getContextPath()%>/twitterbootstrap/js/jquery.js"></script>
> >  <script src="<%=application.getContextPath()%>/twitterbootstrap/js/bootstrap.js"></script>
> > +
> > +<script type="text/javascript">
> > +function reloadImage(){
> > +    d = new Date();
> > +    $("#showSchedule").attr("src", "showSchedule/image" + d.getTime() + ".png");
>
> the time trick, is it to avoid caching problems?
>
Yes
>
> Can't we solve that cleaner with a "do not cache" http response header 
> in VrpShowScheduleServlet?
>
We could try.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/droolsjbpm/optaplanner/pull/46/files#r10704312>.
>