View Single Post
Old 03-20-2006, 07:12 PM   #1 (permalink)
j.gohel
Code Monkey
 
Join Date: Apr 2005
Posts: 68
j.gohel is on a distinguished road
JSP Error page not getting displayed

Hi i have designed one exception class.
What the process follows is:

I am clicking a button from my welcome.jsp page to get connection to the database which hits my makeConnection servlet.The makeConnection servlet calls getConnection() method of some another class .In that other class i m forcefully making runtime error so that i can display my jsp error page.But i am getting the conventional jsp error page provide by Tomcat .

So how to make my error page display if the exception is generated when my servlet takes use of some model class which(the model class) generates the exception???

Thanks,
Jignesh
j.gohel is offline   Reply With Quote