-----Original Message-----
From: Sicaud Patrice [mailto:[EMAIL PROTECTED]]
*** OK. I did not know that. Our script is aimed at DOM1. So, I hope those
problems will be fiexed in NS 6.0.
Netscape 6 will be a different beast alltogether. As you probably know
Netscape have ditched backwards compatibility totally and are basically
developing a new browser. They are supposed to follow W3C's recommendations
and not add any of their own "cool things", but--sadly--not any of IE's cool
things either. Anyway, NN6 should have complete support for HTML 4.0, DOM 1,
CSS 1, JS 1.4 (I think). If only Microsoft would follow the same path, life
would be so much more enjoyable for web developers. If you (or anyone else)
is curious about NN6 it's available for download at
http://www.netscape.com/download/... It's cool with a Netscape browser that
doesn't understand document.layers!
*** What I mean by that is as follows:
If all JSPs have script tag pointing to the same .js file, than all
global object variables will be loaded in all of them and they will all
start with the same defaults. Also, even if I do see the need for keeping
session variables on the server, these are not directly available to
javascript and they also be meaningless for client processing (as in default
state for page elements and whatnot), so we like to maintain client-wide
states in the script.
Hmm, are you sure you can't access session variables from your js code? What
happens if you put something like this in your jsp page:
<script>
var someVariable = <%= getSessionVariableValue %>;
...
</script>
? I can't see why that wouldn't work...
Actually, I think I misunderstood what you wrote in your first message. I
thought you tried to keep the variables's values between pages with
JavaScript--something we both (obviously) know can't be done.
Regards,
Tommy Enqvist
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets