Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JAR in <applet> tag

Reply
Thread Tools

JAR in <applet> tag

 
 
Timo Nentwig
Guest
Posts: n/a
 
      03-30-2005
Hi!

Why doesn't this work:

<applet archive="foo.jar" code="foo.Bar" />

It doesn't look in the JAR for the class but in the file system...
 
Reply With Quote
 
 
 
 
Edwin Martin
Guest
Posts: n/a
 
      03-30-2005
Timo Nentwig wrote:

> <applet archive="foo.jar" code="foo.Bar" />
>
> It doesn't look in the JAR for the class but in the file system...


Code must point to a .class file.

So it should be something like:
<applet archive="foo.jar" code="foo.Bar.class" />

If that does't work, try HTML-notation.

Edwin Martin

--
http://www.bitstorm.org/edwin/en/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java -cp a.jar -jar b.jar => Works on Windows, not on Debian cyberco Java 4 02-14-2006 06:27 AM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
jaas.jar, jta.jar jdbc-stdext.jar missing from jdk1.5 RPM muttley Java 0 10-20-2005 02:40 PM
Differences of xercesImpl.jar, xercesImpl-J.jar, dom3-xercesImpl.jar ? Arnold Peters Java 0 01-05-2005 10:59 PM
Differences of xercesImpl.jar, xercesImpl-J.jar, dom3-xercesImpl.jar ? Arnold Peters XML 0 01-05-2005 10:59 PM



Advertisments