This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I am supposed to make a HTTP proxy for Get, Post, Head method.
I din know where to start.
SO i looked up online and found one piece here one there and tried to make something
Here is the code i got online:
T problem is when I am getting response from server. My while loops keep going on forever and finally would get -1 as response size and proxy will die.
I don't want that to happen.
Even the browser wont get the whole page. Just about 1/10th maybe.
It is a wrong method to get response from server.
I am a loooong way from finish and submition date is day after.
Pleasssee help someone...