jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes reading a user's favorites Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "reading a user Watch "reading a user New topic

reading a user's favorites

Eric Adriaans

Joined: Nov 03, 2004
Posts: 1
Hi, I've been asked to check out if it is possible to read a user's favorites in one way or another. Now, I've found out that it's no problem doing it with activeX, but since the site we want to develop is going to be for a graphical company, they probably don't want to exclude Mac-users, so... that brings us (I think) to Java...

is it possible to make some component on a site, that can read a user's favorites (of course after he agrees to it) from IE, Netscape, Firefox, etc, and pass that on to the html (or javascript or php)...

I'm totally inexperienced with java, but a fine programmer...

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

You could do it with a signed applet I'd imagine. A signed applet can run like an activeX control in that it can access stuff outside of the browser's sandboxed environment. Presuming you know where the user's favourites are kept (with will vary with both Operating System/Browser types and versions) you'll be able to read the files (presuming they are text files - all the Browsers I can think of use text files for favourites, but I know nothing about Macs).

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link: http://aspose.com/file-tools
subject: reading a user's favorites
It's not a secret anymore!