• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

stupid Microsoft -- IE 6.0 on XP trouble . . .

 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for reading this. I have a jsp site that works fine on IE 5.0 on Windows 2000. Since this is an intranet site, this works perfectly. However, we are in the process of upgrading some PC's to Windows XP which runs IE 6.0. My jsp site no longer works under IE 6 on XP. Does anyone know why Microsoft would put out a new browser that won't support code that worked under 5.0? My exact situation is that I have a site that uses multiple frames. Inside one of the frames is a <select> box. OnChange of this select box some hidden values are set, the frame with the <select> box is submitted, and one other frame is submitted. Changing the selected value in the <select> box will change the information that is displayed in the second frame that is submitted. This works perfectly in IE 5. Under IE 6 on XP, however, when the selected value is changed in the <select> box, the data in the second frame will sometimes change to the data that it should display, and then refresh and revert to display the data that was there before the value was changed. Again, this is a sporadic problem: it seems to happen every 2 or 3 times that you try it. Other times it works exactly as expected. Since it is not happening every time, I am even more confused. I have checked the browser settings between the two browsers and they are in sync. I tried changing a few of the settings in IE 6 that are not available in IE 5 but that didn't make a difference, either. I can post some code if this will help.
Can anyone tell me why this won't work? I have looked all over microsoft's site to find release notes for IE 6 or a list of features that were removed, but I haven't had much luck. If anyone can give me any explanations for this, I'd really appreciate it. FYI, I have to code my site so that it will work on IE 5 on Windows 2000 and on IE 6 on XP.
By the way, can anyone tell me if IE 6 will run the same way on Windows 2000 as it does on XP? If not, this will open up a whole new problem for me.
Thanks again in advance.
 
verduka fox
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could this have anything to do with IE 6 not having a JVM installed? If you go to Tools, Internet Options, Advanced in IE 6 there is no Microsoft VM section available. Should I install the Microsoft VM to get this to work? Would the JIT compiler for virtual machine enabled be a required setting for JSP's? Also, I noticed on the XP machine, C:/Windows/Java/classes directory is empty. On my Windows 2000 machine, the C:/Winnt/Java/classes directory has dajava.cab and xmldso.cab. Also in the Java directory on 2000 is a packages subdirectory. I'm just trying to track this down. Any help is greatly appreciated.
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dont know what your problem is, but I do know it isnt the VM -- your function is javascript, not java, so it doesnt run in a VM.
It sounds like a caching problem to me, but then its hard to tell without seeing it.....
I would also think that this is the wrong forum, go to javascript and HTML forum for a more sensible reply....

James
 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Fox,
After the settlement made on JAVA between SUN and MS in jan 2001, i remember reading that MS is not going to support JAVA any longer in IE 6.0, but i also remember that MS do have an option for Java developers to downlaod JVM and there by u can use it.
If u need more information, u can browse through the journal section of MS or Sun. There is a lot of information on this.
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But JSP's run on the server and are not sent to the browser so it is irrelevant what browser you use to run a JSP site. The question is, are you producing valid HTML and JavaScript from your JSPs?
 
verduka fox
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks to everyone for replying.
Thomas: I am 99% sure that my HTML and JavaScript are valid, since they work exactly as expected in IE 5. I have not changed my code and it does not work on IE 6 but it does on IE 5.
Vikram: I tried installing the MS VM on a machine running IE 6 and it didn't appear to make a difference.
Someone told me that this could be a bug in IE; he suggested that Microsoft may have put a patch out. Does this sound likely? If so, could anyone tell me where the patch would be located? I'm wondering if it is too soon to expect a patch from Microsoft.
Please continue to reply to this message -- it's a very urgent issue. I really appreciate your help!
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might try running a Netscape browser and see if anything enlightening happens there.
I've been bitten more than once by malformed HTML that came back as a blank page in Netscape since it has a completely different attitude than IE (and of course, different bugs). And after all, IE *only* has 80% of the market - it's only courteous to allow for those of us unfortunate enough to be running under an OS other than Windows.
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If possible, pl post ur code so that everyone can test on there own platform and let u know.
 
verduka fox
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tim,
I haven't tried Netscape because this is an intranet only application and everyone on our network uses IE (it's the standard). I can try it on Netscape, though, just to see how it behaves.
Could this have anything to do with JavaScript 1.2 on IE 6? Just a thought. . .
One of the developers I work with has found a workaround. While it seems to solve the problem, I still don't understand why it is necessary to modify my code in order for it to run correctly on IE 6. If anyone has an idea, please let me know. I don't like doing workarounds. You will see the workaround in bold below. I have tried to strip this code down to the bare minimum that you should need to see. If you want, I can post the entire code, but it is quite lengthy.
In the parent frame, SelectList.jsp:


<script language="JavaScript"><!--
var reloaded = false;
function reloadOnceOnly()
{
if (!reloaded)
{
reloaded = true;
window.detailframe.history.go(0);
}
}
//--></script>


In the top frame Buttons.jsp (where the <select> box exists called pointOfCare):

In the bottom frame List.jsp (where the the data will sometimes change to the data that it should display, and then refresh and revert to display the data that was there before the value was changed):


<BODY onLoad="parent.reloadOnceOnly()">


Again, if anyone has any ideas why I have to add special code in order for it to run in IE 6, I'd really appreciate it. Thanks for your help.

[This message has been edited by verduka fox (edited November 15, 2001).]
reply
    Bookmark Topic Watch Topic
  • New Topic