网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
在J2EE 中,myWebApp目录是一个Web应用程序根目录,当在浏览器中输入http://localhost:8080/myWebApp/时,会自动打开 该目录下的start.jsp文件。为了达到这个要求,需要在web.xml中添加如下代码()。
A

<welcome-file>start.jsp</welcome-file> 

B

<welcome-file-list>start.jsp<welcome-file-list> 

C

<welcome-list><welcome-file>start.jsp</welcome-file></welcome-list> 

D

<welcome-file-list><welcome-file>start.jsp</welcome-file></welcome-file-list>


参考答案

参考解析
解析: 暂无解析
更多 “单选题在J2EE 中,myWebApp目录是一个Web应用程序根目录,当在浏览器中输入http://localhost:8080/myWebApp/时,会自动打开 该目录下的start.jsp文件。为了达到这个要求,需要在web.xml中添加如下代码()。A welcome-filestart.jsp/welcome-file B welcome-file-liststart.jspwelcome-file-list C welcome-listwelcome-filestart.jsp/welcome-file/welcome-list D welcome-file-listwelcome-filestart.jsp/welcome-file/welcome-file-list” 相关考题
考题 在J2EE中,Web容器要求必须在应用程序中有一个WEB-INF目录,这个目录中包括()。 A.server.xml文件,servlet子目录,jar子目录B.web.xml文件,classes子目录,jar子目录C.server.xml文件,Servlet子目录D.web.xml文件,classes子目录,lib子目录

考题 在J2ee中,myWebApp目录是一个Web应用程序根目录,当在浏览器中输入http://localhost:8080/myWebApp/时,会自动打开该目录下的start.jsp文件。为了达到这个要求,需要在web.xml中添加如下代码()。 A.welcome-filestart.jsp/welcome-fileB.welcome-file-liststart.jsp/welcome-file-listC.welcome-listwelcome-filestart.jsp/welcome-file/welcome-listD.welcome-file-listwelcome-filestart.jsp/welcome-file/welcome-file-list

考题 在J2EE中,一个web应用程序的目录由两部分组成() A.一个classes目录,还有一个包含了html、serblet、jsp等文件的目录B.一个包含公有资源的目录,还有一个似有的目录C.一个web应用的根目录,和在根目录下的web-info目录D.一个可以访问任何文件的目录,一个禁止下载其中资源的目录

考题 在J2EE服务器部署了一个web应用,为了防止客户看到某些资源,应该把这些资源放置到()目录下 A.Web应用的根目录B.web-inf目录下C.pictures目录下D.在web应用根目录下新建一个目录

考题 在J2EE中,对于以下的include指令和include动作,书写正确的是() A.jsp:includepage=http://localhost:/8080/my.jsp/B.%@includefile=http://localhost:/8080/my.jsp/C.jsp:includefile=http://localhost:/8080/my.jsp/D.%@includepage=http://localhost:/8080/my.jsp/

考题 在J2EE服务器中部署了一个Web应用,为了防止客户看到某些资源,应该吧这些资源放置到()目录下。 A.Web应用的目录下B.WEB-INF目录下C.pictures目录下D.在web应用根目录下新建一个目录

考题 在本机的IIS上的默认Web站点中,有一个名称为homework的虚拟目录,如果要浏览此目录中的student1.aspx文件,则需在IE的地址栏中,键入( )即可浏览此网页。 A、http://localhost/studentaspxB、http://127.0.0.1/studentaspxC、http://localhost/homework/studentaspxD、http://127.0.0.1/homework

考题 你是TestKing网站的电脑管理员。Maria是你们公司的软件开发人员,她的电脑运行WindowsXP专业版和IIS(因特网信息服务),她的电脑的设置如下:除了这些,Maria的电脑都是默认的设置。Maria的默认网站包含一个静态的HTML网页,Maria在她的电脑上增加了名为Web2的虚拟网站,在此虚拟网站上安装了Web应用程序。然而,当她在浏览器地址栏输入http://MKP01时,浏览器显示的是默认的网站的网页。你要确保Maria能够使用浏览器访问Web2的应用程序,你要怎么做呢?()A.建议Maria在浏览器的地址栏中输入http://Web2来访问应用程序B.建议Maria在浏览器的地址栏中输入http://172.24.67.45来访问应用程序C.设置虚拟网站Web2使用主机域名为Web2,建议Maria输入http://MKP01/Web2来访问应用程序D.设置虚拟网站的IP地址为172.24.67.46。建议Maria在浏览器的地址栏中输入http://172.24.67.46来访问应用程序

考题 假设IIS所预设的主目录位置为D:\Test,如果在D:\Test目录下的mytest.htm被浏览,则其在浏览器中的地址为( )。A.http://mytest.htmB.http://localhostC.http://localhost/mytest.htmD.http//localhost/mytest.htm/test/mytest.htm

考题 在J2EE中,一个web应用程序的目录由两部分组成() A、一个classes目录,还有一个包含了html、serblet、jsp等文件的目录B、一个包含公有资源的目录,还有一个似有的目录C、一个web应用的根目录,和在根目录下的web-info目录D、一个可以访问任何文件的目录,一个禁止下载其中资源的目录

考题 在J2ee中,myWebApp目录是一个Web应用程序根目录,当在浏览器中输入http://localhost:8080/myWebApp/时,会自动打开该目录下的start.jsp文件。为了达到这个要求,需要在web.xml中添加如下代码()。A、welcome-filestart.jsp/welcome-file B、welcome-file-liststart.jsp/welcome-file-list C、welcome-list  welcome-filestart.jsp/welcome-file /welcome-list D、welcome-file-list welcome-filestart.jsp/welcome-file   /welcome-file-list

考题 在j2ee中,mywebapp目录是一个web应用程序根目录,当在浏览器中输入http://localhost:8080/mywebapp/时,会自动打开该目录下的start.jsp文家。为了达到这个要求,需要在web.xml中添加如下代码() A、welcome-filestart.jsp/welcome.-file B、welcome-file-list start.jsp /welcome.-file-list C、welcome-filewelcome-file start.jsp/welcome-file /welcome.-file D、welcome-file-listwelcome-file start.jsp /welcome.-file/welcome-file-list

考题 在J2EE中,把所有的文件包括子目录都打包到一个名为myWebApp.war的归档文件中的命令是()。 A、jar -tvf myWebApp.warB、jar -cf myWebApp.war *C、jar -tf myWebApp.war *D、jar -tcf myWebApp.war

考题 在J2EE中,把所有的文件包括子目录都打包到一个名为myWebApp.war的归档文件中的命令()。 A、jar-tvf myWebApp.warB、jar-cf myWebApp.war *C、jar-tf myWebApp.war *D、jar-tcf myWebApp.war

考题 若ASP服务器的根目录是“C:///wwwroot”,虚拟目录别名“temp”对应的路径是“C:///wwwroot/asp/temp”,则浏览temp目录下的文件“test.asp”正确的是()。A、http://localhost/temp/test.aspB、http://127.0.0.1/temp/test.aspC、http://localhost/asp/temp/test.aspD、http://127.0.0.1/asp/test.asp

考题 下列说法正确的有()A、forward方法请求转发的组件只能是同一个WEB应用中B、RequestDispatcher对象指定的URL是相对于整个WEB站点的根目录C、sendRedirect方法中的URL是相对于当前WEB应用程序的根目录D、RequestDispatcher对象指定的URL是相对于当前WEB应用程序的根目录E、sendRedirect方法中的URL是相对于整个WEB站点的根目录

考题 现在我们为MyWebApp开发了一些Servlet,应该将这些Servlet发布于()文件夹中。A、/(根目录)B、/WEB-INF/C、/WEB-INF/classesD、/WEB-INF/lib

考题 在J2EE服务器中部署了一个Web应用,为了防止客户看到某些资源,应该吧这些资源放置到()目录下。 A、Web应用的目录下B、WEB-INF目录下C、pictures目录下D、在web应用根目录下新建一个目录

考题 在J2EE中,把所有的文件包括子目录都打包到一个名为myWebApp.war的归档文件的命令是() A、jar –tvf myWebApp.war B、jar –cf myWebApp.war * C、jar –tf myWebApp.war * D、jar –tcf myWebApp.war *

考题 单选题在J2ee中,myWebApp目录是一个Web应用程序根目录,当在浏览器中输入http://localhost:8080/myWebApp/时,会自动打开该目录下的start.jsp文件。为了达到这个要求,需要在web.xml中添加如下代码()。A welcome-filestart.jsp/welcome-file B welcome-file-liststart.jsp/welcome-file-list C welcome-list  welcome-filestart.jsp/welcome-file /welcome-list D welcome-file-list welcome-filestart.jsp/welcome-file   /welcome-file-list

考题 单选题在j2ee中,mywebapp目录是一个web应用程序根目录,当在浏览器中输入http://localhost:8080/mywebapp/时,会自动打开该目录下的start.jsp文家。为了达到这个要求,需要在web.xml中添加如下代码()A welcome-filestart.jsp/welcome.-file B welcome-file-list start.jsp /welcome.-file-list C welcome-filewelcome-file start.jsp/welcome-file /welcome.-file D welcome-file-listwelcome-file start.jsp /welcome.-file/welcome-file-list

考题 多选题在J2EE中,一个web应用程序的目录由两部分组成()A一个classes目录,还有一个包含了html、serblet、jsp等文件的目录B一个包含公有资源的目录,还有一个似有的目录C一个web应用的根目录,和在根目录下的web-info目录D一个可以访问任何文件的目录,一个禁止下载其中资源的目录

考题 单选题在J2EE中,把所有的文件包括子目录都打包到一个名为myWebApp.war的归档文件的命令是()A jar –tvf myWebApp.war B jar –cf myWebApp.war * C jar –tf myWebApp.war * D jar –tcf myWebApp.war *

考题 单选题在J2EE服务器部署了一个web应用,为了防止客户看到某些资源,应该把这些资源放置到()目录下A Web应用的根目录B web-inf目录下C pictures目录下D 在web应用根目录下新建一个目录

考题 单选题现在我们为MyWebApp开发了一些Servlet,应该将这些Servlet发布于()文件夹中。A /(根目录)B /WEB-INF/C /WEB-INF/classesD /WEB-INF/lib

考题 单选题在J2EE中,把所有的文件包括子目录都打包到一个名为myWebApp.war的归档文件中的命令()。A jar-tvf myWebApp.warB jar-cf myWebApp.war *C jar-tf myWebApp.war *D jar-tcf myWebApp.war

考题 单选题在J2EE中,把所有的文件包括子目录都打包到一个名为myWebApp.war的归档文件中的命令是()。A jar -tvf myWebApp.warB jar -cf myWebApp.war *C jar -tf myWebApp.war *D jar -tcf myWebApp.war