Hi,
See below @ [VR].
Thanks
Vasudev
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Vasudev Ram
Infosys Technologies Limited
Pune, India
Email : [EMAIL PROTECTED]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> -----Original Message-----
> From: Danny Rubis [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, January 31, 2000 12:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Q: HTML in applet
>
> Hey!
>
> >>>>>>>
> is looking for ways to diplay HTML *INSIDE* the applet (probably in some
> >>>>>>>
>
> I read the post. What I alluded to in my post, but didn't make clear
> enough obviously, is he is making a design mistake. Until he reposts with
> a more definitive description of what he needs to accomplish, we will not
> know.
>
[VR] I am aware that a browser contains much more functionality
than an applet. Was not looking at implementing all that
functionality
in my applet. The idea was to have a component that could give
basic HTML rendering functionality and place it in the applet as
a component of the UI.
> >>>>>>>
> I am sure a poster that knows how to issue a GET from inside his applet
> could probably have figured out how to send returning HTML to the
> browser:-)
> >>>>>>>
>
> You are guessing.
>
> If he really knew the above, then he would also know that what he is
> asking for is an applet that is a browser. But then again, I am only
> guessing. Let's wait for him.
>
[VR] Yes, we are currently doing it that way - writing the
HTML page to a file on the server and then displaying
it with getAppletContext().showDocument(URL).
I think what we want is possible with Swing's HTMLEditorKit
and related classes, but the loading time / execution
speed of Swing rules it out in our case.
> Sans adieu,
> Danny Rubis
>
>
> "K.V. Chandrinos" wrote:
>
> > Danny Rubis wrote:
> >
> > Danny,
> >
> > pls. read the original post. He (can't tell from the name, no offense)
> > is looking for ways to diplay HTML *INSIDE* the applet (probably in some
> > Canvas). Look:
> >
> > <from original post>:
> >
> > > > > We have an applet which uses URL and URLConnection classes to
> > > > > POST an HTTP request to a web server/app server combo,
> > > > > and it can read the response, which is in HTML format, using
> > > > > getInputStream on the URConnection object.. How can
> > > > > this output be displayed as rendered HTML by the applet ?
> > ^^^^^^^^^ ^^^^ ^^^^^^^^
> >
> > and later on:
> >
> > > > > Or are there any (free) Java components which have this
> > > > > functionality and can be included in the applet ?
> > ^^^^^^^^
> > I am sure a poster that knows how to issue a GET from inside his applet
> > could probably have figured out how to send returning HTML to the
> > browser:-)
> >
> > Even if he doesn't, rendering HTML *INSIDE* (sorry for screaming) an
> > applet is another story though and if you or anyone has a solution, I
> > would like to hear it. Again, it is bad as an idea but very useful
> > sometimes.
> >
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html