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
What are the different types of jsp directive?
What is jsp expression language and what are it’s benefits?
How do you delete the session data?
What is the use of 'out' implicit object?
Explain the jsp life cycle?
What is the jsp:plugin action ?
Is there a way I can set the inactivity lease period on a per-session basis?
What is jsp and why it is used?
What are the jsp tag?
What are the steps involved in reading data from a form using jsp?
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?
Which jsp lifecycle methods can be overridden?
What are jsp and servlets?
How does a jsp function?
How is jsp better than servlet technology?