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

Answer Posted / guest

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.

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of jsp directive?

722


What is jsp expression language and what are it’s benefits?

884


How do you delete the session data?

748


What is the use of 'out' implicit object?

698


Explain the jsp life cycle?

724


What is the jsp:plugin action ?

757


Is there a way I can set the inactivity lease period on a per-session basis?

684


What is jsp and why it is used?

675


What are the jsp tag?

757


What are the steps involved in reading data from a form using jsp?

949


How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?

774


Which jsp lifecycle methods can be overridden?

732


What are jsp and servlets?

690


How does a jsp function?

693


How is jsp better than servlet technology?

767