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

时间:2022-09-02 15:15:13 所属题库:java工程师信产部认证考试题库

相似题目