aspose file tools*
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
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: 148

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 . Join the http://2014.hack.lu/index.php/Main_Page
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: 148

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.
 
 
subject: 404,500 Error Page Handle