Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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

Applet rights ...

Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Subject: Applet rights ...
Hello all...
Can someone tell me whether an applet can store a database file into clients computer & later
access the same & perform any manipulation of that database file & maybe transfer the data
from Clients computer to applets originating server.
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that they can after the user has granted permission. You must use either netscape or explorer packages to query the user about it using the correct method depending on which browser is being used.
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a cookie to me. A cookie is just a file containing data about the user and the machine that they are using etc.
That is how folks like can so miraculously know what sort of stuff that you like to buy, what you username is, when you were there last etc. If they tried to keep all that information for millions of users on THEIR server it would have to be HUGH, so they use OUR space instead .
I don't know of any limit to the amount of data that you can stuff into a cookie.
The browser has to have "cookies enabled" of course.
To get information back to the server you need to use Servlets , or RMI, or J2EE or Corba etc.
[This message has been edited by Cindy Glass (edited February 19, 2001).]
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I looked into file access from applets a while ago, but I never totally found out how it works...
I think in some cases you can write/access certain files, but you have to go through loads of stuff like writing a file granting access and putting it in a certain directory on the user's machine, etc... Not simple, in any case.
If the applet is running from the user's machine (not off the Internet) you can access a file by opening it with a URL, so that could be an option.
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic