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

setStatus and setError

satyam bobba
Greenhorn

Joined: Jan 30, 2006
Posts: 10
what is the difference between setStatus and setError methods?
In which places they are used?
what is the effect if i used setStatus instead of setError?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: setStatus and setError
 
Similar Threads
problem setting custom header in response
Does setStatus on response object trigger the error page mechanism ?
setStatus(),sendError() & IllegalStateException
setStatus() and sendError()
explicitly sending http 200ok message from servlet