public void doTag() {JspTag docTag = findAncestorWithClass(this, DocumentTag.class); ((DocumentTag)docTag).addCitation(this.docID);}
public void doStartTag() {JspTag docTag = findAncestorWithClass(this, DocumentTag.class); ((DocumentTag)docTag).addCitation(this.docID);}
public void doTag() {. Tag docTag = findAncestor(this, DocumentTag.class); . ((DocumentTag)docTag).addCitation(this.docID);. }
public void doStartTag() {. Tag docTag = findAncestor(this, DocumentTag.class); . ((DocumentTag)docTag).addCitation(this.docID);. }
第1题:
Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated by the servlet to the JSP;furthermore, that JSP uses a custom tag and must also process this information. This information mustNOT be accessible to any other servlet, JSP or session in the webapp. How can you accomplish this goal?()
第2题:
When integrating a media server into a home theater, which of the following terms BEST describes the technology used to protect the interest of copyright holders (e.g. multimedia content)?()
第3题:
Which database does WX Central Management System (WX CMS) software use to store historical data?()
第4题:
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost. What should you do?()
第5题:
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0. Now, you are deploying the ASP.NET Web application to a remote server. You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server. Which of the following deployment methods will you select to accomplish this?()
第6题:
Set the .NET Framework trust level to Full for the Web site.
Set the .NET Framework trust level to Low for the Web site.
Set the .NET Framework trust level to High for the Web site.
Set the .NET Framework trust level to Medium for the Web site.
第7题:
Store the data in a public instance variable in the servlet.
Add an attribute to the request object before using the request dispatcher.
Add an attribute to the context object before using the request dispatcher.
This CANNOT be done as the tag handler has no means to extract this data.
第8题:
Add an XML index to the table that contains the product data.
Add the XSINIL argument to the ELEMENTS directive in the query.
Add a HAVING clause to the query.
Add the replace value of clause to the query.
第9题:
<%@ page contentType=’application/javascript’ %>
<jsp:page contentType='application/javascript' />
<jsp:document contentType='application/javascript' />
No declaration is needed because the web form XHTML page already declares the MIME type of the /scripts/screenFunctions.jsp file in the <script> tag.
第10题:
The prefix ’java’ is reserved.
The URI ’myTags’ must be properly mapped to a TLD file by the web container.
A translation error occurs because the prefix is considered identical by the web container.
For the tag usage
第11题:
Digital Rights Management (DRM)
MPEG Layer-3 (MP3)
Internet Key Exchange (IKE)
Content Management System (CMS)
第12题:
From Network Monitor, start a capture.
From the Performance snap-in, create a counter log.
From Internet Information Services (IIS) Manager, enable logging.
From Computer Management, modify the properties of the application log.
第13题:
To take advantage of the capabilities of modern browsers that use web standards, such as XHTML andCSS, your web application is being converted from simple JSP pages to JSP Document format. However,one of your JSPs, /scripts/screenFunctions.jsp, generates a JavaScript file. This file is included in severalweb forms to create screen-specific validation functions and are included in these pages with the followingstatement: 10. 11.
第14题:
第15题:
You install the Web Server (IIS) role on a new server that runs Windows Server 2008. You install a Microsoft .NET Framework 1.0 application on a Web site on the Web server. The company security policy states that all applications must run by using the minimum level of permission. You need to configure the Web site application so that it has the permissions to execute without creating any other content and without accessing any operating system components. What should you do?()
第16题:
Your company has an Active Directory Domain Services (AD DS) domain. You virtualize applications by using Microsoft Application Virtualization (App - V). You are creating an application virtualization package. Which sh ould you use?()
第17题:
Microsoft Application Virtualization Sequencer
Microsoft Application Virtualization Desktop Client
Microsoft System Center Application Virtualization Streaming Server
Microsoft System Center Application Virtualization Management Server
第18题:
Tag files can only be accessed using a tagdir attribute.
The sort.jsp page translates successfully and invokes the tag defined by beta.tag.
The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.
Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.
The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.
第19题:
Oracle
MySQL
Sybase
Microsoft Access
第20题:
Web Setup project
Web-based deployment
Deployment manifest
Web Deployment Tool
第21题:
Use the InProc Session Management mode to store session data in the ASP.NET worker process.
Use the SQLServer Session Management mode to store session data in a common Microsoft SQL Server 2005 database.
Use the SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm.
Use the StateServer Session Management mode to store session data in a common State Server process on a Web server in the Web farm.
第22题:
Tag files can only be accessed using a tagdir attribute.
The sort.jsp page translates successfully and invokes the tag defined by beta.tag.
The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.
Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.
The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.
第23题:
<%@ page contentType=’application/javascript’ %>
<jsp:page contentType='application/javascript' />
<jsp:document contentType='application/javascript' />
No declaration is needed because the web form XHTML page already declares the MIME type of the /scripts/screenFunctions.jsp file in the <script> tag.