That's interesting... I didn't realize you could access the Java RTE
directly from JS... I'll have to look into that.

M.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Steinman
Sent: Monday, December 18, 2000 9:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] loadHTML + Java ?

I think you wouldn't even need an applet, rather do all the Java calls from
with in JavaScript.

So instead of writing an applet, inserting it, and calling
document.loadapplet.whatever(), we can create a JavaScript object which does
stuff like this:

function JavaLoad(url) {
   reader = new java.util.FileReader(url);
   reader.readLine();
   ....
   // I don't remember the code offhand
}

Only problem with this, is that you'd first have do a check to see if java's
installed and if not halt the page and display a warning.  A lot of people
(including myself) usually browse with Java turned off to avoid those
bastard applets that hog all your resources :).

Dan


On Mon, Dec 18, 2000 at 10:54:41AM -0800, Matthew Shirey wrote:
> Hey all,
>
> I was wondering if anyone might be interested in a Java solution for
> dynamically loading a web page into layer?  It would be quite simple to
> create a small invisible applet that JS could send calls to.  The applet
> would make the call to the web server and return the page to the
> JavaScript...  There are limitations to this approach as usual.  Mac IE JS
> cannot talk to applets for one.  Please let me know if anyone is
interested
> in this idea.
>
>
> -- Matthew
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help

Reply via email to