Hello David!
>> 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
DC> I haven't tried this, but am just throwing the idea out. What about the
DC> possibility of using JavaScript includes to include the dynamic text? That way,
DC> you wouldn't have to pragma-nocache the framework page with all of the
DC> graphics, and the text that is included might be pulled from the server each
DC> time the page is loaded (it should be fairly easy to test this theory).
DC> I haven't worked much with JavaScript includes, opting instead for JSP
DC> includes, so I'm not sure how it gets executed in cached pages. I doubt that it
DC> creates anything like the equivalent of the Java servlets that are generated
DC> when you access a JSP page (which prevents us from using JSP includes in this
DC> instance).
DC> Let me know if you decide to pursue this, and if it works!
I have tested dynamic javascripts.
1) Caching of javascripts:
I have tested if they get reloaded on the Expires header:
- NN (4.7.1 and 6.2) and IE 5.5 do it okay.
- Opera caches the javascripts "forever".
Have reported them the bug already.
2) i18n:
Now I need cyrillics in the javascrpts. I have carried out tests and
here's the result, attached.
(comment to the js.html file: When I say that js is iso-8859-1 encoded
it means that the cyrillics
is encoded as \u041f\u0440\u0438 in the js source.)
- Anton
[EMAIL PROTECTED]
[EMAIL PROTECTED]
===========================================================================
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