It's not a secret anymore!
The moose likes Java in General and the fly likes display http header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "display http header" Watch "display http header" New topic
Author

display http header

varsha simla
Greenhorn

Joined: Dec 27, 2011
Posts: 8
hello.i need help on how to display http headers in a browser using the concept of client - proxy - server in java.
i'm new to networking in java.thanks in advance
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 4087
    
  18

Hello Varsha, welcome to CodeRanch!

What kind of help do you need? Please take a look at HowToAskQuestionsOnJavaRanch


The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
varsha simla
Greenhorn

Joined: Dec 27, 2011
Posts: 8
hello Stephan.
i want help concerning the coding part.

client side





i have been able to do that much so far by doing some research and now i'm stuck.please help me
varsha simla
Greenhorn

Joined: Dec 27, 2011
Posts: 8
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 4087
    
  18

What are you stuck with? Can you give a detailed description of the problems you're running into?
varsha simla
Greenhorn

Joined: Dec 27, 2011
Posts: 8
the line 26 for the class ProxyServer
the variable clientSentence---cannot be resolved to a variable

i also want to have an overview what is done at a proxy server when i am sending a http get request

is my code logic good?
 
Don't get me started about those stupid light bulbs.
 
subject: display http header
 
It's not a secret anymore!