• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

This can be done, but the question is HOW?

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,
Can any one suggest me of a java script that allows the jar file to paste in the temporary internet files folder.
I have made some modification in a jar file and want that jar file to go in the temporary internet files folder, which under normal circumstances does not get paste in that folder (not only jar, but does not allow any file to paste in there). For instance say a chat applet, to which I have made some modifications in the class files and want that modified jar applet to get in the temporary internet files folder and make chat program use that instead of the original one. I tried with keeping my jar file into the localhost and downloading it in the temporary internet files folder by giving the source of locally hosted jar applet, but it shows some security error on the status bar of the browser and does not connect to the remote server. Seems like it could not open the port.
If someone can suggest me of the method by which I can use the modified jar file to connect to the server from where it originated, either by downloading the file to the temporary internet file folder or from the localhost.
This can be done, but the question is HOW CAN THIS BE DONE? Great ranchers, Please help this poor rancher.
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you think this can be done? The "sandbox" model for applet security specifically prohibits this behavior. If you want your applet to be able to write to the local file system, you'll have to sign the jar file containing the applet. Any changes you make to the jar file will invalidate the digital certificate assigned to that jar file, and your applet will no longer work.
Can you state in higher-level terms (from the point of view of application features) what you are really trying to do?
look! it's a bird! it's a plane! It's .... a teeny tiny ad
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic