/conf/web.xml
/WEB-INF/web.xml
/conf/server.xml
/META-INF/web.xml
/WEB-INF/rules.xml
/META-INF/server. Xml
第1题:
Which two actions protect a resource file from direct HTTP access within a web application?()
第2题:
Which path is required to be present within a WAR file?()
第3题:
Given an HttpSession session,a ServletRequest request,and a ServletContext context,which retrieves aURL to /WEB-INF/myconfig.xml within a web application?()
第4题:
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?()
第5题:
Which the two about WAR files are true?()
第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题:
<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>
第9题:
The JAR file
A directory called lib
A directory called tags
A directory called TLDs
A directory called classes
A directory called META-INF
第10题:
/WEB-INF/lib as a JAR file
/META-INF/lib as a JAR file
/classes as compiled class files
/WEB-INF/lib as compiled class files
/WEB-INF/classes as compiled class files
/META-INF/classes as compiled class files
第11题:
/classes
/index.html
/MANIFEST-INF
/WEB-INF/web.xml
/WEB-INF/classes
/WEB-INF/index.html
/META-INF/index.xml
第12题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
/WEB-INF/resources
/META-INF/resources
第13题:
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?()
第14题:
Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
第15题:
You want to create a valid directory structure for your Java EE web application, and your application usestag files and a JAR file. Which three must be located directly in your WEB-INF directory(NOT in asubdirectory of WEB-INF)?()
第16题:
In which two web application directories can dependent classes and libraries be located? ()
第17题:
In which two locations can library dependencies be defined for a web application? ()
第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题:
the web application deployment descriptor
the /META-INF/dependencies.xml file
the /META-INF/MANIFEST.MF manifest file
the /META-INF/MANIFEST.MF manifest of a JAR in the web application classpath
第21题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
WEB-INF/resources
/META-INF/resources
第22题:
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
第23题:
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”)
第24题:
/classes
/index.html
/MANIFEST-INF
/WEB-INF/web.xml
/WEB-INF/classes