This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Applets and the fly likes Including a jar file in an Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Including a jar file in an Applet" Watch "Including a jar file in an Applet" New topic
Author

Including a jar file in an Applet

Sulaiman Malik
Greenhorn

Joined: Apr 12, 2010
Posts: 25
Hi

I have created an applet and made its jar file in Netbeans. i am using a jar file in an applet.
I am calling the applet.jar in a jsp page. The applet works fine but the functionality it has to be achieved is through the another jar file which i was using in that applet. means how to include an external jar file in applet.jar so that it could also be available to that jsp page also when i will run the jsp page. I need an urgent help. thnx
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
The other jar would not be part of the applet.jar file. Instead, your applet tag would have an archive attribute that points to both jar files. See http://faq.javaranch.com/java/AppletsFaq#tag for details.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Including a jar file in an Applet
 
It's not a secret anymore!