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 is the difference between a jspwriter and a servlet printwriter?

511


What is jsp life cycle?

495


What is contextpath?

499


What is difference between include directive and jsp:include action?

490


List the different scope values for the tag in jsp?

516






What is jsp usebean?

501


What is jsp container?

489


What language is used to write servlets and jsp?

461


What are stored procedures? How is it useful?

508


What is the jsp?

545


What is jsp index?

489


Why is it that JComponent have add() and remove() methods but Component doesn’t?

502


What jsp lifecycle methods can I override?

575


Differentiate between response.sendredirect(url) and ?

640


What is scriptlet tag in jsp?

484