Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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

reading client-side file from applet

Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone,
is there any way in which i can get a listing of all files on the client machine, then select a particular file, and display the contects of this file - all in my applet.
please help me out in this....
thank you in advance for the help extended.
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By default an applet cannot read files on the client machine.
Trusted applets, however, can do that. In order for an applet to be considered trusted by the client, the applet class either has to be included in the classpath of the jre running the applet (a bit difficult if you don't have the class file on your local machine), or you can sign the applet.
For more info:
    Bookmark Topic Watch Topic
  • New Topic