Java 5 bug and a work around

October 12, 2004

Did you see that really massive stack trace (that was thrown by the supposedly stable version of java 5) in my blog a few days ago? I think I may have found the solution.

If you recall the java plug in seemed to have a problem at least in java 5 where a problem did not exist in the beta version. The choker is a little bit of style. The server side upload handler that we include as a sample with Rad Upload includes a little of bit of style hich is valid.However we do set a style of 110% to one of the table headers, java 5 seems unable to process it, even though previous versions could.

the culprit: <td style="font-size: 110%" align="right">

The problem could be narrowed down to the plugin bcecause if you load the offending html into a texpane in a JFrame it works fine. Rather than waiting for an updated version to e fixed we came up with quite a simple solution, a solution that didn't take any effort at all. So what's it? we made a minor change to the CSS.


Posted by raditha at October 12, 2004 5:28 PM
Your Ad Here

 

Jabber  |  Linux  |  mySQL  |  PHP  |  Java  |  Site Map  |  Wiki

Downloads  |  About  |  Links  |  Contact  |  Home

 

Copyright © Raditha Dissanayake 2003 - 2007

Terms of Use  |  Privacy

 

 

October 2004
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31