Javascript works great when it comes to dynamic contents. We heavily use javascript to download dynamic contents. However, when it comes a a browser or page reload, then that's a different situation. We haven't found ways around the page reload when it comes to contents. I'm not sure how you plan to use javascript to determine whether an image has changed or not. The only thing I can think of when it comes to page reloads is if you a able to instruct the browser to use cached images rather than download them again. Typically there are some browser preferences that the user can specify, but I don't know if that's available through scripting.
/Peter -----Original Message----- From: David Castro [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 5:09 AM To: [EMAIL PROTECTED] Subject: Re: JSP-INTEREST Digest - 5 Feb 2002 to 6 Feb 2002 (#2002-37) > However, it begets another problem: the browser reloads all the graphic > images on the page each time, which takes awful a lot of bandwidth for my > pages I haven't tried this, but am just throwing the idea out. What about the possibility of using JavaScript includes to include the dynamic text? That way, you wouldn't have to pragma-nocache the framework page with all of the graphics, and the text that is included might be pulled from the server each time the page is loaded (it should be fairly easy to test this theory). I haven't worked much with JavaScript includes, opting instead for JSP includes, so I'm not sure how it gets executed in cached pages. I doubt that it creates anything like the equivalent of the Java servlets that are generated when you access a JSP page (which prevents us from using JSP includes in this instance). Let me know if you decide to pursue this, and if it works! -David Castro [EMAIL PROTECTED] http://www.davidcastro.com __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
