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
Joined: Nov 22, 2000
Jan 06, 2001 20:03:00
Hi, I was wondering about res.sendError(..). Is it for 404 only or for others as well like SC_UNAUTHORIZED, etc?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jan 06, 2001 20:57:00
I don't see anything in the API to restrict sendError() to 404
I agree. Here's the link:
sendError() and setStatus()
Error Descrition through request Object
setStatus(),sendError() & IllegalStateException
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014