This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
It is sorta covered in the JavaRanch Style Guide.
subject: reading a user's favorites
Similar Threads
Best URL to download Java from.
Does anyone listens to parikrama (Indian rock band)
how to bypass url parameters?
Java applet in HTML with Javascript, security issues
To control the alert message