JSP Question: Download Questions PDF
How do you restrict page errors display in the JSP page?
![Java JSP Programming Interview Answer Java JSP Programming Interview Question](https://globalguideline.com/public/images/interview/17.png)
Answer:
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.
Download Java JSP Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
How do I prevent the output of my JSP or Servlet pages from being cached by the browser? | What is JSP technology? |