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 jsp scriptlet tag used for?

662


Can jsp run without server?

645


Mention the implicit objects in a jsp.

739


Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page? : Citibank

725


Give the use of session object.

744


Can an interface be implemented in the jsp file?

722


What is the jsp?

711


How do I perform browser redirection from a jsp page?

681


Why is it not recommended to use script elements in jsp?

682


How can information from one JSP be passed to another JSP?

778


Can you explain what is jsp page life cycle?

745


What are jsp elements?

706


What is scriptlet and what is expression?

695


How many tags are provided by jstl?

694


What is the use of pagecontext in jsp?

656