试题详情
- 单项选择题在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
关注下方微信公众号,在线模考后查看
热门试题
- 在Java中,下面描述正确的是()。
- Math.round(-11.5)的值是
- final,finally,finali
- Struts使用()捕获表单数据Q
- 使用()修饰符时,一个类能被同一包或不同
- Hibernate 中的查询
- 在J2EE中,在JSP中想要使用Java
- 在Java语言中,你创建了一个Apple
- public class&e
- 在J2EE中,ServletRespon
- 在J2EE中,把所有的文件包括子目录都打
- 在J2EE中,在my.jsp中使用标记扩
- 消息驱动Bean通常的动作象一个()
- 编译如下Java程序片断:
- Struts通过()支持mvc的视图开发
- 给定如下Java程序片断:
- 在J2EE中,有两种类型的实体Bean,
- 在J2EE中,在自己编写的Bean中有
- 在J2EE中,接受一个XML文档,返回d
- Hibernate中的查询语句如下&e