What is the result?

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?

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>



Leave a Reply 3

Your email address will not be published. Required fields are marked *


giuseppe

giuseppe

C
without reading 🙂

Allan Santos

Allan Santos

C indeed