This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes question about ?Http error code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "question about ?Http error code" Watch "question about ?Http error code" New topic
Author

question about ?Http error code

Karn Sadyapongse
Greenhorn

Joined: Jan 09, 2006
Posts: 13
I'm writing a program that
While a program is running,if error occured,web browser will show some error code on titlebar
the question is,i still confuse about http error code,which error code i should hardcoding in the source code?

there are many http error code such as 400,405,301,302...bla bla
i want to know that what does these error codes mean?
301 : move permanently
302 : response found
....and another one,318 : I'm a teapot (i think that this one is a joke,but it's real)

thanks for all questions
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question about ?Http error code
 
Similar Threads
Pattern & Matcher - how to get any combination?
Regular Expressions in String.split()
reading basic text from website with bufferedreader
class name in choices.txt
Replace text by HTML links