This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 3605
    
  14

Hello Varsha, welcome to CodeRanch!

What kind of help do you need? Please take a look at HowToAskQuestionsOnJavaRanch
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: 3605
    
  14

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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: display http header
 
Similar Threads
PA #1.....picture association
How does everyone else handle table entries and null values?
java applet webapplication
whats wrong with this picture?
Log any HTTP Request info