(1)假设在helloapp应用中有一个hello.jsp,
它的文件路径如下:%TOMCAT_HOME%/webapps/ROOT/hello/hello.jsp 那么在浏览器端访问hello.jsp的URL是什么?
选项:
(A) http://localhost:8080/hello.jsp
(B) http://localhost:8080/hello/hello.jsp
(C) http://localhost:8080/helloapp/hello/hello.jsp(2)假设在helloapp应用中有一个HelloBean类,
它位于com.zjut.edu.cn包下,那么这个类的class文件应该放在什么目录下?
选项:
(A) helloapp/HelloBean.class
(B) helloapp/WEB-INF/HelloBean.class
(C) helloapp/WEB-INF/classes/HelloBean.class
(D) helloapp/WEB-INF/classes/com/zjut/edu/cn/HelloBean.class
它的文件路径如下:%TOMCAT_HOME%/webapps/ROOT/hello/hello.jsp 那么在浏览器端访问hello.jsp的URL是什么?
选项:
(A) http://localhost:8080/hello.jsp
(B) http://localhost:8080/hello/hello.jsp
(C) http://localhost:8080/helloapp/hello/hello.jsp(2)假设在helloapp应用中有一个HelloBean类,
它位于com.zjut.edu.cn包下,那么这个类的class文件应该放在什么目录下?
选项:
(A) helloapp/HelloBean.class
(B) helloapp/WEB-INF/HelloBean.class
(C) helloapp/WEB-INF/classes/HelloBean.class
(D) helloapp/WEB-INF/classes/com/zjut/edu/cn/HelloBean.class
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货