Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet jar

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on JApplet.

The full path is : applet.MyApplet
the jar file, MyApplet.jar, placed into web-inf/lib.

the codes below is in a jsp file which is placed http://localhost:8080/mts/jsp/common/myapplet.jsp .

But this codes doesn't work. How to fixt it ?

Thanks.

 
Lorand Komaromi
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edward Chen wrote:I am working on JApplet.
the jar file, MyApplet.jar, placed into web-inf/lib.


It should be in a folder visible to the clients and the URL should be specified accordingly!
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...and the URL should be specified accordingly!

In other words, the jar file should be in the same directory as the JSP page that contains the applet tag referencing it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic