The main log wasn't showing it, in this case, but a second log popped up a
noclassdef error; that, I can fix.
-D
talldean wrote:
>
> I have the following block of code, using a freshly downloaded
> HttpClient-3.1, and cannot figure out what I've done wrong.
>
> try {
> String urlString = "http://www.google.com";
> logger.trace("1");
> PostMethod method = new PostMethod(urlString);
> logger.trace("2");
> } catch (Exception e) {
> logger.trace("3");
> }
>
> The logs get the message "1", and the program terminates before it seems
> to get to the trace 2 line, without throwing an exception of any sort.
> Any ideas? Same thing seems to happen with both PostMethod and GetMethod,
> and I'm out of ideas.
>
>
--
View this message in context:
http://www.nabble.com/Problems-calling-new-PostMethod%28url%29-tp19091079p19092671.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]