🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17113

Re: HTML output - probably easy

#17113
From: William Yu
Date: Tue, 22 Dec 1998 00:00
23 lines
1498 bytes
"Daniel R. J. Lind" wrote:
> 
> I want to use a Java applet to dynamically create HTML in another frame in a
> standard browser. Is this easy to do?  How do you do it?

There is no easy way to do this. Possible options:

  1. Run servlets or CGI scripts on your web server. Have the applet
communicator back to the web server to transmit the HTML output there.
Then use showDocument with a CGI URL that will tell the server to
display the stored HTML output.

  2. Open a socket connection on port 80 to the browser. Have the
browser show in the target frame the URL http://localhost. Then transmit
the HTML output to the browser with all the appropriate HTTP tags. (Not
sure if this is possible.)

  3. Have an applet in the target frame with a HTML parser component.
Use some form of interapplet communication (static class variables,
infobus, etc.) to transmit the HTML content to the target applet.

I recommend #3.
Technical Details
Message-ID: <367FF7D3.934EB68D@Bigfoot.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <75k8fv$6fa19@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f73b44b7e3d718ec
X-Google-Attributes: gidf74b3,public
From: William Yu <William_Yu@Bigfoot.com>
Subject: Re: HTML output - probably easy
Date: 1998/12/22
Message-ID: <367FF7D3.934EB68D@Bigfoot.com>
X-Deja-AN: 424938724
Content-Transfer-Encoding: 7bit
References: <75k8fv$6fa19@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: American All-Risk Group (AARG)
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language