多项选择题
A.<%! import java.util.*; %>
B.<%! import java.util.List;import java.util.ArrayList; %>
C.<%@ page import=’java.util.List’import=’java.util.ArrayList’ %>
D.<%@ import types=’java.util.List’types=’java.util.ArrayList’ %>
E.<%@ page import=’java.util.List,java.util.ArrayList’ %>
F.<%@ import types=’java.util.List,java.util.ArrayList’ %>
多项选择题 You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()
单项选择题 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?()
单项选择题 In a JSP-centric web application, you need to create a catalog browsing JSP page. The catalog is stored asa List object in the catalog attribute of the webapp’s ServletContext object. Which scriptlet code snippetgives you access to the catalog object?()