Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

invoking applet from javascript

 
Sanket Band
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have made an applet that imports some classes from AR api. i have invoked this applet from a javascript code. but when i execute this i get a class not found exception. it is not getting the classes which i import. can anyone help on this.
 
Jelle Klap
Bartender
Posts: 1951
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello and welcome to JavaRanch!

Could you provide us with some more information?
You mentioned an AR api, which doesn't ring any bells with me.
Also, a stack trace could be useful, as would be information regarding packaging of the Applet.
 
Sanket Band
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Jelle

am using an Action Request API(AR API).
What i exactly do is , i make an applet which uses this api. i bundle this applet and other classes that i have written in a jar file.
I use this jar in javascript. Now my problem is :- in my applet i import some classes of the Action Request API( I have kept the jar file for this Action Request API in the original java classpath).When i execute this applet in the browser, i get a class not found exception indicating that it is not able to get the classes that i import from the AR API.
I hope this clarifies the problem.
thanks Jelle for looking into my problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic