This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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