The Artima Developer Community
Sponsored Link

Java Answers Forum
proxy java program, Problem with the images

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Nassih Mohamed

Posts: 1
Nickname: nasmoh
Registered: Nov, 2002

proxy java program, Problem with the images Posted: Nov 29, 2002 8:40 AM
Reply to this message Reply
Advertisement
I have a program witch, behave as a proxy server, read from the web and send to the browser the web pages, my problem is that, the program works to read and write the text but not for the images.
--
private PrintWriter toBrowser;
private BufferedReader fromWeb;

while ( true ) {
str = fromWeb.readLine();
if ( str == null ) break;
if ( str.length() == 0 ) echoing = false;
if( echoing ) System.out.println(str);
toBrowser.println(str);
}
---
have you any solution please.

Topic: whether java run in unix can call java in win NT Previous Topic   Next Topic Topic: Is there performance issues with declaring variables inside a loop?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use