now problem is that if will remove errorPage directive from result.jsp then ${pageContext.exception} in errorPage.jsp does not display anything. why it is so? Thanks
Are you sure ? Removing that line should not prevent you from still displaying the error. I removed the line <%@ page errorPage="erreur.jsp" %> and reduced the JSP to this :
and I still can see the error details using the EL variable pageContext : ${pageContext.exception}
[ November 17, 2006: Message edited by: Max Fernandes ] [ November 17, 2006: Message edited by: Max Fernandes ]
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog