| PATH |

Running the WebAssistant With appletviewer
You can launch WebAssistant using the Java program appletviewer.
Follow these steps:
- Launch your application with the command-line option D2WWebAssistantEnabled set to YES.
- In the console output look for a line similar to the following:
DirectToWeb WebAssistant launch line: appletviewer http://localhost:51508/ cgi-bin/WebObjects/D2WTutorial.woa/wa/D2WActions/openWebAssistant
- Open a shell such as provided by the Terminal application on Mac OS X.
- Copy the string from "appletviewer" to "openWebAssistant"
to the shell and press Return (or Enter).
If the port number is -1, look in the console output for the actual port number of the application and substitute that.
When you complete this procedure, WebAssistant launches and connects to your application. If you stop and restart the Direct to Web application, the WebAssistant will re-connect to it provided it is running on the same port.
A standalone WebAssistant has exactly the same functionality as one launched inside your browser. However, if the browser you are using is not Java-enabled, your pages are not automatically refreshed after you click Update. You must either click your browser's "reload" or "refresh" button or (when you are picking a new type of page, such as a MasterDetails page instead of a ListPage), you will have to re-navigate to the same page.

© 2001 Apple Computer, Inc.