DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22756>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22756 npe when using a getmethod ------- Additional Comments From [EMAIL PROTECTED] 2003-08-29 02:03 ------- Hi Yashi, The problem seems to be how you are trying to execute the GET. Your sample code has some ordering problems, calling getResponseBodyAsStream() before execute(). It also does not use the HttpClient class to execute the method, which is highly discouraged. Please take a look at the HttpClient tutorial[1] and the sample code[2] for how to execute a GetMethod. Please let me know if you have any questions. Mike [1] http://jakarta.apache.org/commons/httpclient/tutorial.html [2] http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
