• Post Reply Bookmark Topic Watch Topic
  • New Topic

unwrap from JSF exception  RSS feed

 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on an application that uses JSF in the front end and Spring as service layer.

We have defined 2 types of exception called as ApplicationException and SystemException

Any exception will be wrapped within above exceptions and thrown to the client.

We need to show different error pages for the above 2 exceptions.

We tried using <error-page> in web.xml but it does not work, since our application is wrapped within FacesException and thrown.

What may be the workaround for this?

Regards,
Joshua
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!