Microsoft says you are putting script not in body but in td (Table Data) 
element e.g.
<html>
  <body>
      <table>
                <tr>
                         <td>
                                 <script type="text/Javascript">
                                                  var d = 
document.createElement('div');
                                                  document.body.appendChild(d);
                                 </script>
                         </td>
                 </tr>
      </table>
  </body>
 </html>
solution is to place the script outside the table to modify the body as seen 
here
 <html>
  <body>
      <table>
                <tr>
                        <td>
                       </td>
                 </tr>
      </table>
      <script type="text/Javascript">
                                  var d = document.createElement('div');
                                  document.body.appendChild(d);
                     </script>
  </body>
 </html>
<!-- makes sense since you are modifying the body instead of the td element -->

does this conform to your IE implementation?
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Thu, 21 May 2009 22:51:06 +0200
> From: peters...@gmx.at
> To: users@tomcat.apache.org
> Subject: Re: Problem: JSP works in Firefox but not in Internet Explorer
> 
> Dear Christopher,
> I found the cause for my troubles:
> 
> http://support.microsoft.com/kb/927917/en
> 
> The taglib uses
> 
> document.body.appendChild
> 
> which causes IE 7 to crash :( Microsoft states as workaround to upgrade 
> to IE 8, that is <irony>a very good solution</irony>
> 
> You helped me with your hint:
> 
> > The parts of the JSP aren't "executed"... they are imported into your
> > HTML, which you could probably see if you had posted the generated HTML.
> > Then your javascript triggers in the generated page do various things.
> > The taglib itself doesn't cause any requests to occur.
> >   
> 
> bacause I looked at the generated HTML and saw the above stated command. 
> I found a forum entry that pointed me to that M$ page. So IE is to 
> blame, not my code.
> 
> Thanks again, I will have to find another way of doing things, I guess, 
> since it is odd to let users encounter this problem and let them be 
> annoyed about the website not working.
> 
> Jan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009

Reply via email to