This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
Pie
Posts: 42967
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