• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

netscape javascript JSException

 
Allen Bandela
Ranch Hand
Posts: 128
Eclipse IDE MS IE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am communicating applet and javascript using the netscape.javascript.* package.
I'm using IE6. I'm getting a JSException and the applet aint even loading.Can anyone help please.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Offhand I'd say there's little chance to get the LiveConnect stuff to work if the applet doesn't initialize properly, so that might be a first step. What is the message in the JSException?
 
Allen Bandela
Ranch Hand
Posts: 128
Eclipse IDE MS IE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It says nothing more than this:
netscape.javascript.JSException
at netscape.javascript.JSObject.getWindow(JSObject.java:144)
at IndexSearch3.init(IndexSearch3.java:92)
at sun.applet.AppletPanel.run(AppletPanel.java:378)
at java.lang.Thread.run(Thread.java:595)

I am runnig these statements in the init() method.
 
Allen Bandela
Ranch Hand
Posts: 128
Eclipse IDE MS IE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just got it working . I just added a try/catch block. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic