I am using servelets to design my appliction . Can any one suggest me how to write the Exception message in output page ? example if I any sql exception is thrown I want to diplay the printStackTrace() method message in output page(i.e can be html or jsp) The following is the code .
exceptionObject.printStackTrace();
Regards, Raj