This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Applets and the fly likes Applet jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet jar " Watch "Applet jar " New topic
Author

Applet jar

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
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

Joined: Oct 08, 2009
Posts: 276
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!


OCJP 6 (93%)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39571
    
  27
...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.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet jar
 
Similar Threads
Where to put applet?
ojdbc connection through Applet from a Browser.
Applet in web application
Copy dlls and lic files from server path to local system 32 dir in Applet init()
JDBC in applets