★ wanayoo — archive 1999 http://developer.iplanet.com/docs/examples/liveconnect.htmlNouvelle recherche | Portail wanayoo
iPlanet

You are here:  Home > Developers > Documentation > Examples > LiveConnect Sample Code Examples
LiveConnect Sample Code
 iPlanet Developers


Developer Program
  Membership
  One-to-One Support
  Newsgroups

Developer Publications
  View Source
  Developer News

Documentation
  Technical Manuals
  White Papers
  TechNotes
  Sample Code
  FAQs
  Books

Technologies
  CORBA
  Directory & LDAP
  Dynamic HTML
  Java
  JavaScript
  Linux
  Security
  SSJS
  XML

Developer Downloads
  Tools & SDKs
  Patches

iPlanet Products
  Technical Resources










spacer
LiveConnect Sample Code

Connecting JavaScript to Java with LiveConnect
Netscape engineer Gary Smith is a clever guy; in this View Source article, in his own words, he shows you ". . . how you can write pure JavaScript code that will have Java-like capabilities without your having to write any Java applets or plug-ins." Neat trick, eh? Read on to find out just how clever Gary is . . . and to find some useful code samples you can drop into your own applications.

Visual Dynamic HTML Utility (Requires Netscape Navigator 4.0 or higher)
The new Visual DHTML tool includes practical LiveConnect usage for real live JavaScript to Java communication, such as JavaScript calls to java.awt.Frame, java.awt.FileDialog, and java.io.DataOutputStream for reading and writing files.

Using LiveConnect to Determine Screen Resolution
This example demonstrates how to determine a user's screen resolution using LiveConnect.

Using LiveConnect to Access JavaScript From Java
This example demonstrates setting and getting a cookie with a JavaScript function call from a Java applet.
spacer spacer


                                                       
iPlanet International | Year 2000 | Site Map | Feedback
Products | Solutions | Support | Services | Download | About Us | Developer
© 2000 Sun-Netscape Alliance. All Rights Reserved  Privacy Policy