多选题Which thethree are valid URL mappings to a servlet in a web deployment descriptor? ()A*/*B/*.doCmyServletD/MyservletE/MyServlet/*FMyServlet/*.isp
多选题
Which thethree are valid URL mappings to a servlet in a web deployment descriptor? ()
A
*/*
B
/*.do
C
myServlet
D
/Myservlet
E
/MyServlet/*
F
MyServlet/*.isp
参考解析
解析:
暂无解析
相关考题:
在web.xml中servlet-mapping元素表示从servlet的URL的映射关系,它有两个子元素分别表示servlet名称和与其对应的URL映射,下面哪一个子元素表示URL映射() A、mappingB、servlet-urlC、url_mappingD、url_pattern
下列对于web.xml的配置说法错误的是()。 A、在web.xml描述中,首先要声明ServletB、在web.xml描述中,要指定这个Servlet的名字和类C、在web.xml描述中,要为Servlet做URL映射D、在web.xml中不可同时指定多个Servlet
The Junos OS blocks an HTTP request due to the category of the URL.Which form of Web filtering is being used?() A. redirect Web filteringB. integrated Web filteringC. categorized Web filteringD. local Web filtering
Which thethree are valid URL mappings to a servlet in a web deployment descriptor? ()A、 */*B、 /*.doC、 myServletD、 /MyservletE、 /MyServlet/*F、 MyServlet/*.isp
Which three are described in the standard web application deployment descriptor?()A、session configurationB、MIME type mappingsC、context root for the applicationD、servlet instance pool configurationE、web container default port bindingsF、Servlet Context initialization parameters
在web.xml文件中,描述了一个Servlet,其中()指定了Servlet类的访问路径。A、 servlet中的servlet-name B、url-pattrrn C、 WEB-INF文件夹servlet-class D、 servlet-mapping中的servlet-name
客户请求访问HTML页面与访问Servlet有什么异同?()A、相同:都使用HTTP协议B、区别:前者Web服务器直接返回HTML页面,后者Web服务器调用Servlet的方法,由Servlet动态生成HTML页面C、相同:前者Web服务器直接返回HTML页面,后者Web服务器直接返回Servlet的源代码。D、区别:后者需要在web.xml中配置URL路径。
Which element is the parent of the tag in the web application deployment descriptor? ()A、 web-app B、 filters C、 servlet D、 filter-list
Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()A、javax.servlet.http.HttpSessionListenerB、javax.servlet.http.HttpSessionBindingListenerC、javax.servlet.http.HttpSessionAttributeListenerD、javax.servlet.http.HttpSessionActivationListener
Which three are valid URL mappings to a servlet in a web deployment descriptor?()A、*/*B、*.doC、MyServletD、/MyServletE、/MyServlet/*F、MyServlet/*.jsp
Which element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()A、classbr/B、webappbr/C、servletbr/D、codebasebr/E、servlet-class
Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application. In which object can the data that A shares with B be stored?()A、 HttpSessionB、 ServletConfigC、 ServletContextD、 HttpServletRequestE、 HttpServletResponse
Which two are valid values for the element inside a element ofa web application deployment descriptor?()A、NULLB、SECUREC、INTEGRALD、ENCRYPTEDE、CONFIDENTIAL
单选题Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()Ajavax.servlet.http.HttpSessionListenerBjavax.servlet.http.HttpSessionBindingListenerCjavax.servlet.http.HttpSessionAttributeListenerDjavax.servlet.http.HttpSessionActivationListener
单选题Given an Http Session session. A Servlet Request request. And a Servlet Context context. Which retrieves a URL to /WEB INF/ my config.xml within a web application?()A session.get Resource (“/WEB-INF/myconfig.xml”)B request.get Resource (“/WEB-INF/myconfig.xml”)C context.get Resource (“/WEB-INF/myconfig.xml”)D get Class ().get Resource (“/WEB-INF/myconfig.xml”)
多选题Given: 11. 12.catalog 13./catalogTemplate.jsp 14.10 15. Which two are true?()ALine 13 is not valid for a servlet declaration.BLine 14 is not valid for a servlet declaration.COne instance of the servlet will be loaded at startup.DTen instances of the servlet will be loaded at startup.EThe servlet will be referenced by the name catalog in mappings.
多选题Given: 11. 12.catalog 13./catalogTemplate.jsp 14.10 15. Which two are true?()ALine 13 is not valid for a servlet declaration.BLine 14 is not valid for a servlet declaration.COne instance of the servlet will be loaded at startup.DTen instances of the servlet will be loaded at startup.EThe servlet will be referenced by the name catalog in mappings.
多选题Which two are valid values for the element inside a element ofa web application deployment descriptor?()ANULLBSECURECINTEGRALDENCRYPTEDECONFIDENTIAL
单选题Servlet A receives a request that it forwards to servlet B within another web application in the same webcontainer. Servlet A needs to share data with servlet B and that data must not be visible to other servlets inA’s web application. In which object can the data that A shares with B be stored?()AHttpSessionBServletConfigCServletContextDHttpServletRequestEHttpServletResponse
单选题The Junos OS blocks an HTTP request due to the category of the URL.Which form of Web filtering is being used?()Aredirect Web filteringBintegrated Web filteringCcategorized Web filteringDlocal Web filtering
单选题Which element is the parent of the tag in the web application deployment descriptor? ()A web-app B filters C servlet D filter-list
多选题Which three are valid URL mappings to a servlet in a web deployment descriptor? ()A*/*B/*.doCmyServletD/MyservletE/MyServlet/*FMyServlet/*.isp
单选题Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application. In which object can the data that A shares with B be stored?()A HttpSessionB ServletConfigC ServletContextD HttpServletRequestE HttpServletResponse
多选题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?()AAdd attributes to the session object.BAdd attributes on the request object.CAdd parameters to the request object.DUse the pageContext object to add request attributes.EAdd parameters to the JSP’s URL when generating the request dispatcher.
多选题Which three are guaranteed to be valid for the element of a web application deployment descriptor?()AFORMBDIGESTCNORMALDENCRYPTEDECLIENT-CERT