Hanumant Deshmuk book chapter14 review question no 9.
<body>
<%@ page import='AddressBean' %>
<% { %>
<
jsp:useBean id="address" class="AddressBean" scope="session"/>
<% } %>
<jsp:useBean id="address" class="AddressBean" scope="session"/>
<jsp:getProperty name="address" property="street"/>
</body>
which of the following is true?
a. it will give translation time error
b. it will give compile time errors
c. it may throw run time excep
d. it will print the value of the street
when I invoked this page, it gave me org.apache.jasper.compiler.compileException ...
The answer given was a.
How can we find out whether an error is a compile time or translation time error?