• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to mention multiple jars inside lib folder in archive of Applet tag...

 
Ranch Hand
Posts: 349
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using several jars inside my lib folder. This is how my folders are arranged, WEB-INF\classes
\lib
\mytest.html

Inside the html

<APPLET codebase="classes" archive="../lib/jaxws-api.jar, swing-layout-1.0.jar" code="com/neto2/attest/psd/PSDApplet.class" width=850 height=350>
<PARAM name=pktFileName value="tc_conf_igs_dfg_001_153344.pkt"></PARAM>
<PARAM name=packetCreatedDate value="2007-11-22"></PARAM>
</APPLET></P>

My problem is in archive, how to mention all jars are one more jars inside lib?

Ananth
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The archive attribute does not support wildcards - the browser can't know which jar files there are in a server directory. You need to list all files explicitly, separated by commas.
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I have mentioned all jars explicitly. But it doesnt see the second jar. The first jar is mentioned like ../lib/jaxws-api.jar so I dont have any issues. Whereas the second jar makes some problems, should I have to specify like ../lib/jaxws-api.jar, ../lib/swing-layout-1.0.jar.

Ananth
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ulf.

I ve got it. I have mentioned all the jars in the archive like this ../lib/swing-layout-1.0.jar, ../lib/jaxws-api.jar, ../lib/jaxb-api.jar.

Thanks
Ananth
reply
    Bookmark Topic Watch Topic
  • New Topic