An applet is called from an HTML file and the applets HTML can be identified within the applet by using getDocumentBase(). When you say that the required HTML is in another Frame in the same window, is the other frame a different applet? Another frame in the same applet? What "window" are you referencing?
"JavaRanch, where the deer and the Certified play" - David O'Meara