当前分类: SCWCD(310-083)
问题:多选题Which two directives are applicable only to tag files?()ATagBPageCTaglibDIncludeEVariable...
查看答案
问题:A web application allows the HTML title banner to be set usi...
问题:多选题Assume the scoped attribute priority does NOT yet exist. Which two create and set a new request-scopedattribute priority to the value "medium"?()A${priority = ’medium’}B${requestScope[’priority’] = ’medium’}Cc:set var=priority value=medium /Dc:set var=...
问题:Given: 3.class MyServlet extends HttpServlet { 4.public void...
问题:单选题A JSP page contains a taglib directive whose uri attribute has the value dbtags. Which XML element withinthe web application deployment descriptor defines the associated TLD?()A tlduridbtags/urilocation/WEB-INF/tlds/dbtags.tld/location/tldB tagliburidb...
问题:单选题You are creating a content management system (CMS) with a web application front-end. The JSP thatdisplays a given document in the CMS has the following general structure: 1. 2. ... 11. ... ... ... 99. The citation tag must store information in the ...
问题:单选题The JSP developer wants a comment to be visible in the final output to the browser. Which comment styleneeds to be used in a JSP page?()A !-- this is a comment --B % // this is a comment %C %-- this is a comment --%D % /** this is a comment **/ %...
问题:A developer is designing a multi-tier web application and di...
问题:单选题The Squeaky Bean company has decided to port their web application to a new J2EE 1.4 container. Whilereviewing the application, a developer realizes that in multiple places within the current application, nearlyduplicate code exists that finds enterpri...
问题:单选题Which is a benefit of precompiling a JSP page?()A It avoids initialization on the first request.B It provides the ability to debug runtime errors in the application.C It provides better performance on the first request for the JSP page.D It avoids exec...
问题:Given a Filter class definition with this method: 21.public ...
问题:单选题A developer is designing a web application that must support multiple interfaces, including: an XML web service for B2B HTML for web-based clients WML for wireless customers. Which designpattern provides a solution for this problem?()A Session FacadeB ...
问题:单选题Which ensures that a JSP response is of type "text/plain"?()A %@ page mimeType=text/plain %B %@ page contentType=text/plain %C %@ page pageEncoding=text/plain %D %@ page contentEncoding=text/plain %E % response.setEncoding(text/plain); %...
问题:单选题Your IT department is building a lightweight Front Controller servlet that invokes an application logic objectwith the interface: public interface ApplicationController {public String invoke(HttpServletRequest request)} The return value of this method ...
问题:多选题A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()AidBnameCbeanDtypeEscope...
问题:多选题Given: 11. 15. Which three EL expressions, inserted at line 15,are valid and evaluate to "3"?()A${vals.2}B${vals[2]}C${vals.index}D${vals[index]}E${vals}[index]F${vals[vals[index-1]]}...
问题:单选题You have a new IT manager that has mandated that all JSPs must be refactored to include no scritpletcode. The IT manager has asked you to enforce this. Which deployment descriptor element will satisfy thisconstraint?()A jsp-property-group. url-pattern*...
问题:多选题Given the JSP code: 10. 11. 12. 13.Hello, ${customer.title} ${customer.lastName}, welcome 14.to Squeaky Beans, Inc. 15.16. Which three types of JSP code are used?()AJava codeBTemplate textCScripting codeDStandard actionEExpression language...
问题:单选题Users of your web application have requested that they should be able to set the duration of their sessions.So for example, one user might want a webapp to stay connected for an hour rather than the webapp’sdefault of fifteen minutes; another user migh...
问题:You have created a JSP that includes instance variables and ...