File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes setStatus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "setStatus" Watch "setStatus" New topic
Author

setStatus

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, I was wondering about res.sendError(..). Is it for 404 only or for others as well like SC_UNAUTHORIZED, etc?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
I don't see anything in the API to restrict sendError() to 404
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setStatus