File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
HTTP Error Codes Help
Joined: Nov 02, 2000
Dec 29, 2004 15:28:00
How do I might I get a response object from an external site and pull out the error codes without using a
By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
Joined: Jun 19, 2001
Dec 30, 2004 01:57:00
HttpURLConnection urlC = (HttpURLConnection) new URL("http://foo.bar.com").openConnection();
and then there is a the getResponseCode() method to get information from the connection.
I agree. Here's the link:
subject: HTTP Error Codes Help
Difference in status and error codes
Custom Error Page Filter
plz help URGENT
"this" question required
error page for exceptions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014