🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HTML output - probably easy

#17010
From: William Yu
Date: Sat, 26 Dec 1998 00:00
18 lines
1586 bytes
Arun wrote:

> In 2. Can you elaborate on what you mean by CGI URL? I use showDocument with a URL
> created from the applet to display the HTML using javascript. This works in
> Netscape 4.x but IE4 throws an exception: javascript unknown
> protocol

Basically, you need a CGI script that runs on the web server.  What this CGI script
will do is (1) create a listener daemon to monitor an arbitrary socket port, (2)
index and store HTML that is sent to this socket port by your Java Applet and (3)
display the contents when sent the correct URL parameters.  Example: (1) script
listens on port 666, (2) applet sends "ID=12345,Contents=XYZ" to port 666, (3)
applet uses showDocument("http://some_server/cgi-bin/view?id=12345"), (4) script
reads ID=12345, transmits XYZ.

Suffice it to say, this is not a trivial job.  You will have to learn a whole new
set of tools to make it work.  Your best bet is definitely to use a HTML Java
component.
Technical Details
Message-ID: <3685772C.859FB510@Bigfoot.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <75k8fv$6fa19@forums.borland.com> <367FF7D3.934EB68D@Bigfoot.com> <36826FF4.EE1C6F57@earthlink.net>

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/26
Message-ID: <3685772C.859FB510@Bigfoot.com>
X-Deja-AN: 426030750
Content-Transfer-Encoding: 7bit
References: <75k8fv$6fa19@forums.borland.com> <367FF7D3.934EB68D@Bigfoot.com> <36826FF4.EE1C6F57@earthlink.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language