First things first, Throwing an exception of generic type is a very bad Idea.
Which version of struts are you using?
if 1.x, what is the global exception mentioned in struts config (if it was mentioned)
I would prefer to throw an user defined exception and configure the same in struts config based on type.
Have Fun with Java
little,little.. little by little makes a lot..
You can define the Global exception in configuration file through which you can redirect to error page in struts. Explore <exception/> in struts.
Second thing you can also print the exception in that jsp page but you need to implement the exception handler which will send the object to jsp page.