Given the element from the web application deployment descriptor:
<jsp – property – group>
<url – pattern>/main/page1.jsp</url – pattern>
<scripting – invalid>true</scripting – invalid>
</jsp—property—group>
And given that /main/page1.jsp contains:
<% int i = 12; %>
<b> <%= i %> </b>
What is the result?
A.
<b> <b>
B.
<b> l2 </b>
C.
The JSP fails to execute.
D.
<% int i = 12 %>
<b> <%= i % > < b>
C: When scripting is invalid, it means that scriptlets, scripting expressions, and declarations will produce a translation error if present in any of the pages in the group.
http://docs.oracle.com/javaee/5/tutorial/doc/bnaoq.html
C
without reading 🙂
C indeed