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 do jsp literals consist of?

723


Why jsp and servlets are used?

514


What is jsp net?

520


Why is used in jsp?

496


Explain the various scope values for tag.

508






What is the purpose of jsp and why it is widely used?

535


What are jsp elements?

515


Can a subsequent request be accessed with one’s servlet code, if a request attribute is already sent in his jsp?

525


How to call java method in jsp page on button click?

1005


Mention the jstl core tags.

535


What do you know about jsp tags?

525


Give an example where you need jsp custom tag?

523


Which one is better jsp or servlet?

477


What is contextpath?

501


What are the types of directives in jsp?

507