• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where dose JSException come from?

 
Kidd He
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I make applet communication with javascript.

java code:


the html:


I compile the java code with any error or exception, but when I run the html page, inputing a word in the applet and pressing Enter, throwing a exception :


Why?Thanks!
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you catch that exception in the applet, what does its getMessage method return?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic