Consider the following contents for two
JSP files:
In file companyhome.jsp:
<html><body>
Welcome to ABC Corp!
<jsp:include page="companynews.jsp" />
</body></htm>
<%@ page errorPage="simpleerrorhandler.jsp" %>
In file companynews.jsp:
<%@ page errorPage="advancederrorhandler.jsp" %>
<h3>Todays News</h3>
Select 1 correct option.
a When companyhome.jsp is requested, the output will contain "welcome..." as well as "Todays News".
b companyhome.jsp will not compile.
c companynews.jsp will not compile.
d Both the files will compile but will throw an exception at runtime.
e None of these.
Answer
Not convinced , any explanations?