Include a listener directive in a JSP page
configure a listener in the TLD file using the
Include a
configure a listener in the application deployment descriptor, using the
Include a class implementing ServletContextListener as part of the web application deploymen
第1题:
Which two tasks are required to install Service Integration Bus Web Services?()
第2题:
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 in the servlet to the JSP for view generation.This information must NOT be accessible to any other servlet,JSP or session in the webapp. Which two techniques can you use to accomplish this goal?()
第3题:
You were recently hired by Certkiller .com as a database administrator. You are asked to find out whether the currently functional listener process, named L1, has been password protected or not. You are not familiar with the file system of the new organization. How would you accomplish the task?()
第4题:
In a shared server configuration, which two describe the actions that the listener can take to service a client request?()
第5题:
You are developing an application that receives events asynchronously.You create a WqlEventQuery instance to specify the events and event conditions to which the application must respond.You also create a ManagementEventWatcher instance to subscribe to events matching the query.You need to identify the other actions you must perform before the application can receive events asynchronously.Which two actions should you perform?()
第6题:
install the Resource Adapter
configure SOAP listener port
deploy the Service Integration Bus application
install the Service Data Objects (SDO) Repository
create a new WebSphere Application Server profile
第7题:
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.
第8题:
Start listening for events by calling the Start method of the ManagementEventWatcher.
Set up a listener for events by using the EventArrived event of the ManagementEventWatcher.
Use the WaitForNextEvent method of the ManagementEventWatcher to wait for the events.
Create an event handler class that has a method that receives an ObjectReadyEventArgs parameter.
Set up a listener for events by using the Stopped event of the ManagementEventWatcher.
第9题:
by using the STATUS command of the Listener control utility
by using the STATUS L1 command of the Listener control utility
by using the SHOW RULES command of the Listener control utility
by using the SET PASSWORD command of the Listener control utility
by searching for the PASSWORD_LISTENER entry in the listener.ora file
第10题:
<%@ 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.
第11题:
The listener hands the connection request directly to a dispatcher.
A dedicated server inherits the connection request from the listener.
The client connects to a dedicated server directly using a protocol address provided by the listener.
The application initiating the session spawns a dedicated server process for the connection request.
The listener issues a redirect message to the client, containing the protocol address of a dispatcher. The client then terminates the network session to the listener and establishes a network session to the dispatcher, using the network address provided in the redirect message.
第12题:
Use the CHANGE_PASSWORD command of the Listener control utility.
Use the SET PASSWORD and SAVE_CONFIG commands of the Listener control utility.
Use the CHANGE_PASSWORD and SAVE_CONFIG commands of the Listener control utility.
Manually modify the listener.ora file to include the password for the listener and restart the listener.
第13题:
第14题:
Which the two about WAR files are true?()
第15题:
You want your listener to be password protected to prevent it from being shut down. You want to accomplish this task while the listener is functional. Which method could you use to achieve this objective?()
第16题:
You create Web sites for your company. You apply a consistent design to the pages and controls of the Web sites. You need to make style changes to all of the Web sites on the Web server. You want to achieve this goal without having to edit the individual pages on each Web site. Which two actions should you perform? ()
第17题:
You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do? ()
第18题:
WAR files must be located in the web application library directory.
WAR files must contain the web application deployment descriptor.
WAR files must be created by using archive tools to designed specifically for that purpose.
The web container must serve the content of any META-INF directory located in a WAR file.
The web container must allow access to resources in JARs in the web application library directory
第19题:
<tld><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location></tld>
<taglib><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location>. </taglib>
<tld>. <tld-uri>dbtags</tld-uri>. <tld-location>/WEB-INF/tlds/dbtags.tld</tld-location> . </tld>
<taglib><taglib-uri>dbtags</taglib-uri><taglib-location>/WEB-INF/tlds/dbtags.tld. </taglib-location>. </taglib>
第20题:
Place a theme in the App_Themes directory under the application root directory.
Place a theme under an ASP.NETClientFiles folder under the ASP.NET installation directory.
Assign a theme by setting the <%@ Page Theme=... %> directive to the name of the application theme.
Assign a theme by specifying the <pages theme=.../> section in the Web.config file.
第21题:
Add attributes to the session object.
Add attributes on the request object.
Add parameters to the request object.
Use the pageContext object to add request attributes.
Add parameters to the JSP’s URL when generating the request dispatcher.
第22题:
Include a listener directive in a JSP page
configure a listener in the TLD file using the
Include a
configure a listener in the application deployment descriptor, using the
Include a class implementing ServletContextListener as part of the web application deploymen
第23题:
Placing it in the /secure directory
Placing it in the /WEB-INF directory
Placing it in the /META-INF/secure directory
Creating a element within the deployment descriptor