🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1871

How to display the HTML page in Pure java ??

#1871
From: Suyog HEbbar
Date: Tue, 04 Sep 2001 18:36
14 lines
1868 bytes
I have a HTML page which has java script in it. There are couple of methods in it.
I want to display it from my application. Once, the page is loaded I want to call the method in the javascript and send some parameters to it.
How can I do this ?? Can anyone help me ??

I am able to do it in VJ++ as they have a control called HTMLControl which allows to display a HTML page and it has got an event called as ondownloadcomplete. In which I write my code to call the method in javascript behind the page.

I was able to do it even in VC++ using the parent control of HTML Control called as webbrowser control.

I even tried in pure java. I used jintegra to convert the Webbrowser control of Microsoft (It is an ActiveX Control) to awt control. I was able to display the HTML page also. I even got the ondownloadcomplete event , but I am not able to call the method in java script.

Looking forward to the help
Bye
Suyog
Technical Details
Message-ID: <3b951f2d$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsxfer.eecs.umich.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-ge.switch.ch!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,9ed189d0f2c5301f,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-09-04 11:43:40 PST
From: "Suyog HEbbar" <k.suyog.hebbar@celstream.com>
Sender: "Suyog HEbbar" <k.suyog.hebbar@celstream.com>
Reply-To: "Suyog HEbbar" <k.suyog.hebbar@celstream.com>
Subject: How to display the HTML page in Pure java ??
Newsgroups: borland.public.jbuilder.java.api
X-User-Info: 164.164.89.33 164.164.89.33    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3b951f2d$1_2@dnews>
Date: 4 Sep 2001 11:36:29 -0700
X-Trace: dnews 999628589 207.105.83.65 (4 Sep 2001 11:36:29 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsxfer.eecs.umich.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-ge.switch.ch!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews