I want to keep the applet class file and its containing html file in separate directories. when i hard code the url of the applet class in the applet tag of the html file say C:\app (is where the applet class file is and the html file is in C:\) i get the class not found error in the browsers status bar
Aha, here's your problem. The tag information that you write is interpreted by the browser, which thinks "C:" is a local resource not a server resource. The browser cannot and should not assume it has root access to the file system of the server. Instead, your CODE= value should be set relative to where the html file is found. Try it like this: CODE=/app/myapp.class and see what that does for you. ------------------ Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide [This message has been edited by Michael Ernest (edited December 30, 2001).]
Make visible what, without you, might perhaps never have been seen. - Robert Bresson
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop