wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes 404,500 Error Page Handle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "404,500 Error Page Handle" Watch "404,500 Error Page Handle" New topic
Author

404,500 Error Page Handle

Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 146

Hello Guys,


I'm working on Node does anyone know how to handle error pages in Node.js other then using any framework. I'm building my own library for this just want to know is there any solution which i may missed out ?


Thank you


hate Professionalism
Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 329

You can probably 'catch' the errors as stated in the api and redirect to error page through the response object.
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 146

Sumit Bisht wrote:You can probably 'catch' the errors as stated in the api and redirect to error page through the response object.


That's very bad way of doing it. BAD BAD BAD BAD .. Use of Domain is better then that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 404,500 Error Page Handle