• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RecordStore equivalent for Applet?

 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone suggest how I might best mimic a midlets recordstore in a jdk1.1.8 applet?

Basically, just need the persistent storage of a few Strings.

Applet will be unsigned.

Cheers,
James
 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To put he question another way: Does anyone know how I can achieve persistent storage in an applet (jdk1.1.8)?

Thanks,
James
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either directly into a DB sitting on the same host where the applet is served from, or through a servlet on that host into a DB sitting anywhere.
 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf,

I'll do it via a servlet. Do you know if the servlet url can be specified as an absolute url or must it be relative?

Thanks,
James
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since the context you're coming from is an applet on a different machine, you need to use absolute URLs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic