session.get Resource (“/WEB-INF/myconfig.xml”)
request.get Resource (“/WEB-INF/myconfig.xml”)
context.get Resource (“/WEB-INF/myconfig.xml”)
get Class ().get Resource (“/WEB-INF/myconfig.xml”)
第1题:
Which two actions protect a resource file from direct HTTP access within a web application?()
第2题:
在web.xml文件中,描述了一个Servlet,其中()指定了Servlet类的访问路径。
第3题:
Which path is required to be present within a WAR file?()
第4题:
Given an HttpSession session,a ServletRequest request,and a ServletContext context,which retrieves aURL to /WEB-INF/myconfig.xml within a web application?()
第5题:
In which two web application directories can dependent classes and libraries be located? ()
第6题:
Which path is required to be present within a WAR file?()
第7题:
/conf/web.xml
/WEB-INF/web.xml
/conf/server.xml
/META-INF/web.xml
/WEB-INF/rules.xml
/META-INF/server. Xml
第8题:
LoginDemo/
LoginDemo/src/
LoginDemo/logindemo/WEB-INF/bin/
LoginDemo/logindemo/WEB-INF/
第9题:
in the subdirectory /WEB-INF/ctxl
in the subdirectory /META-INF/ctxl
in the subdirectory /ctxl in the root of the archive
in the subdirectory /ctxl/resource in the root of the archive
in the root of the archive
第10题:
/classes
/index.html
/MANIFEST-INF
/WEB-INF/web.xml
/WEB-INF/classes
/WEB-INF/index.html
/META-INF/index.xml
第11题:
request.get Writer ():
request.get Reader ():
request.get Input Stream():
request.get Resource As Stream():
request.get Resource As Stream (Servlet Request. REQUEST):
第12题:
/classes
/index.html
/MANIFEST-INF
/WEB-INF/web.xml
/WEB-INF/classes
第13题:
Which three are described in the standard web application deployment descriptor?()
第14题:
现在我们为MyWebApp开发了一些Servlet,应该将这些Servlet发布于()文件夹中。
第15题:
Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
第16题:
In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()
第17题:
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?()
第18题:
A web application is bound to the context named "/webapp" and the client uses the browser and makes a request to the resource http://server:port/webapp/ctxl/resource. Where do you place this resource inside the web application structure?()
第19题:
session.getResource(/WEB-INF/myconfig.xml)
request.getResource(/WEB-INF/myconfig.xml)
context.getResource(/WEB-INF/myconfig.xml)
getClass().getResource(/WEB-INF/myconfig.xml)
第20题:
/(根目录)
/WEB-INF/
/WEB-INF/classes
/WEB-INF/lib
第21题:
HttpSession
ServletConfig
ServletContext
HttpServletRequest
HttpServletResponse
第22题:
HttpSession
ServletConfig
ServletContext
HttpServletRequest
HttpServletResponse
第23题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
/WEB-INF/resources
/META-INF/resources