🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to display the HTML page in Pure java ??

#1791
From: Laurent Souriau
Date: Fri, 07 Sep 2001 08:05
18 lines
1588 bytes
        Hi,


Have you tried that ? Here WelcomeAll.htm is the html you want to display.

         try
         {
             URL Bienvenue;
             Bienvenue = new
URL(iClient.monapplet.getDocumentBase(),"WelcomeAll.htm");

iClient.monapplet.getAppletContext().showDocument(Bienvenue,"_self");
         } catch (MalformedURLException e)
           {
               System.out.println("Exception when loading Welcome html
page");
               e.printStackTrace();
           }
Technical Details
Message-ID: <9n9v12$8m6$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!dispose.news.demon.net!demon!grolier!oleane.net!oleane!nnrp.oleane.net!not-for-mail
References: <3b951f2d$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,9ed189d0f2c5301f
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-09-07 01:06:39 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!dispose.news.demon.net!demon!grolier!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Laurent Souriau" <lsouriau@club-internet.fr>
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: How to display the HTML page in Pure java ??
Date: Fri, 7 Sep 2001 10:05:10 +0200
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 20
Message-ID: <9n9v12$8m6$1@s1.read.news.oleane.net>
References: <3b951f2d$1_2@dnews>
NNTP-Posting-Host: aqsacom.rain.fr
X-Trace: s1.read.news.oleane.net 999849827 8902 195.6.24.78 (7 Sep 2001 08:03:47 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Fri, 7 Sep 2001 08:03:47 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400