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

单选题
在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-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/

在本机的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

若Web站点的Internet域名是www.lwh.com,IP为192.168.1.21,TCP端口为8080,则用户在IE浏览器的地址栏中输入()后就可访问该网站。A.http://192.168.1.21B.http://www.lwh.comC.http://192.168.1.21:8080D.http://www.lwh.com/8080

若Web站点的Internet域名是www.1wh.com,IP为192.168.1.21,TCP端口为8080,则用户在IE浏览器的地址栏中输入()后就可访问该网站。A.http://192.168.1.21B.http://www.1wh.comC.http://192.168.1.21:8080D.http://www.1wh.com/8080

假设在helloapp应用中有一个hello.jsp,文件路径为C:/Tomcat/webapps/helloapp/hello/hello.jsp那么在浏览器端访问hello.jsp的URL是()A、http://localhost:8080/hello.jspB、http://localhost:8080/helloapp/hello.jspC、http://localhost:8080/helloapp/hello/hello.jspD、http://localhost:8080/helloapp/hello

假设在helloapp应用中有一个hello.jsp,它的文件路径如下:%JA VA_HOME%/webapps/helloapp/hello/hello.jsp 那么在浏览器端访问hello.jsp的URL是什么? ()A.http://localhost:8080/hello.jspB.http://localhost:8080/helloapp/hello.jspC.http://localhost:8080/helloapp/hello/hello.jspD.http://localhost:8080/webapps/helloapp/hello/dello.jsp

假设在helloapp应用中有一个hello.jsp,它的文件路径如下:%JAVA_HOME%/webapps/helloapp/hello/hello.jsp,那么在浏览器端访问hello.jsp的URL为()。 A、http://localhost:8080/hello.jspB、http://localhost:8080/helloapp/hello.jspC、http://localhost:8080/helloapp/hello/hello.jspD、http://localhost:8080/webapps/helloapp/hello/dello.jsp

你是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来访问应用程序

在Tomcat启动后,可以在浏览器中输入()://localhost:8080来测试安装配置是否正确。

假设在helloapp应用中有一个hello.jsp,它的文件路径如下:TOMCAT_HOME%/webapps/helloapp/hello/hello.jsp那么在浏览器端访问hello.jsp的URL是什么?()A、http://localhost:8080/hello.jspB、http://localhost:8080/helloapp/hello.jspC、http://localhost:8080/helloapp/hello/hello.jsp

在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

若Web站点的域名是www.1wh.com,IP为192.168.1.21,现将TCP端口改为8080,可在IE浏览器的地址栏中输入()访问该网站。A、http://192.168.1.21B、http://www.1wh.comC、http://192.168.1.21:8080D、http://www.1wh.com/8080

AMS客户端下载到PC上,路径正确的是A、~http://ams_ip:8080/ams-clientB、http://localhost:8080/ams_downloadC、http://ams_ip:8080/ams_downloadD、http://localhost:8080/ams-client

下列说法正确的有()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中,myWebApp目录是一个Web应用程序根目录,当在浏览器中输入http://localhost:8080/myWebApp/时,会自动打开该目录下的start.jsp文件。为了达到这个要求,需要在web.xml中添加如下代码()。Awelcome-filestart.jsp/welcome-file Bwelcome-file-liststart.jsp/welcome-file-list Cwelcome-list  welcome-filestart.jsp/welcome-file /welcome-list Dwelcome-file-list welcome-filestart.jsp/welcome-file   /welcome-file-list

填空题在Tomcat启动后,可以在浏览器中输入()://localhost:8080来测试安装配置是否正确。

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

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

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

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

多选题在J2EE中,对于以下的include指令和include动作,书写正确的是()Ajsp:include page=http://localhost:/8080/my.jsp/B%@ include file=http://localhost:/8080/my.jsp/Cjsp:include file=http://localhost:/8080/my.jsp/D%@ include page=http://localhost:/8080/my.jsp/