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.
httpConn.connect(); // then use various methods to extract response code, headers etc // for example (j2se 1.4 only)... Map m = httpConn.getHeaderFields(); } } } I was also looking for a way to send the other method types to a servlet and came across the above in a Sun tech tip. There are a few strange things (like how to pass parameters in a POST) but basically it seems to behave as expected... HTH