• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to call a jar file from jsp plugin tag

 
ahmad basha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Morning,
I have an AppletClass (TestApplet.class) and i am trying to call it from a jsp page using
<jsp lugin type="applet" code="TestApplet.class" width="1200" height="500" > it is working well.

Now my problem is i made that TestApplet.class as a jar file along with other class files which TestApplet uses. and now when i run jsp page it is raising an ClassNotFoundException : TestApplet exception.
Then wrote
<jsp lugin type="applet" code="TestApplet.class" codebase="/jsp" archive="facility.jar" width="1200" height="500" >
Even though i am getting same exception what was wrong?..help me out.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would guess that the codebase parameter points to an incorrect directory, or that jar file can't be downloaded. You could check the web server logs to see if it is indeed downloaded OK. The Java Plugin Dev Guide has lots of useful information on the subject.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic