> Arvind wrote:
>
> the html content is displayed. But without the images which
> obviously is due to <img src="../images....." . I want the
> images also to be streamed to the client.
>

 If you request the images (open another URLConnection
using the URL from the img tag), then the server will
send them to you.

 It's up to the client to issue individual request for
each thing it needs. That will involve somebody on the
client side parsing the HTML.

 If I'm understanding your question correctly, it indicates
that you need to do some background reading into how HTTP
and HTML work. The concepts are not hard to learn, but
without them you will be lost.

 There are some classes in Swing that might help, look
for stuff that displays HTML, you might be able to use
some of the parsing code. Or check on the web for any
freely available web browser components written in Java.

 But really, none of this has anything to do with servlets.


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
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

Reply via email to