File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "question about ?Http error code" Watch "question about ?Http error code" New topic

question about ?Http error code

Karn Sadyapongse

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é

Joined: Nov 24, 2005
Posts: 14688

[My Blog]
All roads lead to JavaRanch
It is sorta covered in the JavaRanch Style Guide.
subject: question about ?Http error code
It's not a secret anymore!