while giving mock exam I got below question and I am unable to understand why
${exception.message} is not valid answer?
Question:- A JSP page myerror.jsp has been invoked as a result of an exception from another JSP page.
How can you print the message contained in the exception instead of displaying the whole stack trace in myerror.jsp?
Why ${exception.message} is not correct.
Thanks!!!
${exception.message} is not valid answer?
Question:- A JSP page myerror.jsp has been invoked as a result of an exception from another JSP page.
How can you print the message contained in the exception instead of displaying the whole stack trace in myerror.jsp?
Why ${exception.message} is not correct.
Thanks!!!