File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create a Generic Error Page

 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i need to have a generic error page which will be common for all types of error.
say
Internal Server Error - Handled through web.xml
File Not Found - handled through web.xml
ApplicationSpecificException - handled through struts-config.xml

Now the error message is going to vary for each and every type.

Is it possible to have a common error page where based on input parameter the error message that displays to user get varies.

Is there any option to pass parameter to error page from web.xml (for 404 and 500) and struts-config.xml(application specific error.)

Any pointers would really help.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic