在设计Web项目的目录结构时,一般吧JSP 和

题目

在设计Web项目的目录结构时,一般吧JSP 和 HTML文件放在()下。

  • A、src目录
  • B、文档根目录或其子文件下
  • C、META-INT目录
  • D、WEB-INF目录
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在J2EE服务器中部署了一个Web应用,为了防止客户看到某些资源,应该吧这些资源放置到()目录下。

A.Web应用的目录下

B.WEB-INF目录下

C.pictures目录下

D.在web应用根目录下新建一个目录


参考答案:B

第2题:

在WEB应用程序的目录结构中,在WEB-INF文件夹外的文件为()。

  • A、.jsp文件
  • B、.class文件
  • C、.jar文件
  • D、web.xml文件

正确答案:A

第3题:

在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>


参考答案:D

第4题:

在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-file><welcome-file> start.jsp</welcome-file> </welcome.-file> 
  • D、<welcome-file-list><welcome-file> start.jsp </welcome.-file></welcome-file-list>

正确答案:D

第5题:

在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>

正确答案:D

第6题:

怎样访问Web服务目录子目录中的JSP页面? 


正确答案:Web服务目录的下的目录称为该Web服务目录下的相对Web服务目录。浏览器的地址栏中键入:http://IP:8080/Web目录名字/子目录名字/JSP页面。

第7题:

在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>

正确答案:D

第8题:

在WEB应用程序的目录结构中,WEB-INF文件夹外的文件为()

A.JSP文件

B.Class文件

C..jar文件

D.web.xml文件


参考答案:A

第9题:

在WEB应用程序的目录结构中,WEB-INF文件夹外的文件为() 

  • A、JSP文件
  • B、Class文件
  • C、.jar文件
  • D、web.xml文件

正确答案:A

第10题:

在Web应用程序的档案与目录结构中,web.xml是直接放置在()之中。

  • A、WEB-INF目录
  • B、conf目录
  • C、lib目录
  • D、classes目录

正确答案:A

更多相关问题