please refer http://blog.csdn.net/quechao123/article/details/6256653
alwayls happen like below, for example
try{
//error code
}catch(Exception e){
forward to error page
}
// do something
forward to the destination page-> lead to this error
alwayls happen like below, for example
try{
//error code
}catch(Exception e){
forward to error page
}
// do something
forward to the destination page-> lead to this error