• 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

Accessing Jar file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a jsp page(login.jsp) in the WEB-INF folder(test/WEB-INF) on the web server.
'login.jsp' has an applet in it(systemApplet). The jar file containing the class files for the applet is in the 'test' directory, 'test' is the root-context of my application.

'login.jsp' accesses some of the styles sheets from a different server(http server), but when I move the jar file to the http server and try to access the jar file, I am not able to do access.
The applet is still looking for the jar file in the 'test' directory.
Is there a way I can access the jar file placed on the http server?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

That's what the CODEBASE (and ARCHIVE) attributes of the APPLET tag are for.
 
Prakash Talla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot Ulf. It worked using the CODEBASE tag.

Surya
reply
    Bookmark Topic Watch Topic
  • New Topic