|
-
Http Headers again
Hello,
I am trying to catch Http Errors in my servlet and display it on the browser
when the error are caught. However, I would like ot do the same with application
instead on browser. I am using
String inString = uc.getHeaderField(0);
when the eror is displayed it is in the form
"Http/1.1 503 ok"
I would like to get more info when error is displayed.
There is a option of passing Sting rather than integer in getHeaderiled Method.
Do you know what sting should i pass.
Or do you know any way that I can get more info about the error like
"Http/1.1 503 Service unavailable"
Help is really appeciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks