File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 140

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


Join IRC freenode ##javaee channel.
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: 140

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
 
Similar Threads
How to handle JSP exceptions declaratively
inputFileUpload - uploadMaxFileSize
Jsp Error page
How to handle an Exception thrown in a Scriptlet in a .Tag File
Redirect internal server error to custom JSP