tags:

views:

50

answers:

1

Hi,

Could some one give me some pointers as to how do i propogate an exception from jersey class to lets say a JSP, along with some examples if possible..

Thanks in advance Adhir

A: 

Use a Runtime exception to propogate the exception.. WebApplicationException in the JSR311 api does the same thing for you.. if the client is a web app.

Otherwise a checked exception would suffice

Adhir