🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Referring to URL memory

#16772
From: Michael A. Long
Date: Tue, 19 Jan 1999 00:00
23 lines
1239 bytes
Not sure if you can do it from a string object but if you have a document on
the web, you can use the AppletContext.showdocument(url).

Vasudevan Srinivasan wrote in message <36A3550F.FF80D497@netrisk.com>...
>Hi
>I have got a memory area (as String) which contains something like
>"<HTML>
><BODY>
>This is a text
></BODY>
></HTML>"
>
>basically the string is a series of html instructions. How do I convert
>this to an java.net.URL object ? casting, of course, wont work. I need
>send this to the browser to be displayed as HTML. I tried extending the
>URL class and experimenting with URLStreamHandlerFactory (making it not
>to recognize protocols  etc. but little success so far).
>
>Thanks for any help
>Vasu
>
>
>
Technical Details
Message-ID: <781hvb$bbl2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36A3550F.FF80D497@netrisk.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,27d24e7fc934324e
X-Google-Attributes: gidf74b3,public
From: "Michael A. Long" <mlong@ecst.csuchico.edu>
Subject: Re: Referring to URL memory
Date: 1999/01/19
Message-ID: <781hvb$bbl2@forums.borland.com>
X-Deja-AN: 434344635
References: <36A3550F.FF80D497@netrisk.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: California State University, Chico
Newsgroups: borland.public.jbuilder.java.language