DEVFYI - Developer Resource - FYI

How do you restrict page errors display in the JSP page?

JSP Interview Questions and Answers


(Continued from previous question...)

24. How do you restrict page errors display in the JSP page?

You first set "Errorpage" attribute of PAGE directory to the name of the error page (ie Errorpage="error.jsp")in your jsp page .Then in the error jsp page set "isErrorpage=TRUE". When an error occur in your jsp page it will automatically call the error page.

(Continued on next question...)

Other Interview Questions