Java就业班第2阶段考试题答案.docVIP

  • 33
  • 0
  • 约3.29千字
  • 约 3页
  • 2017-06-07 发布于重庆
  • 举报
Java就业班第2阶段考试题答案

Java就业班考试题 一、选择题(每题1分,并且每题为单选,共10分) 1、假设在名称为helloapp的Web应用中有一个hello.jsp,它的文件路径如下:C %CATALINA_HOME%/webapps/helloapp/hello/hello.jsp,那么在浏览器端访问hello.jsp的URL是什么 A http://localhost:8080/hello.jsp B http://localhost:8080/helloapp/hello.jsp C http://localhost:8080/helloapp/hello/hello.jsp 2、假设在helloapp应用中有一个HelloServlet类,它位于org.javathinker包下,那么这个类的class文件应该放在什么目录下? D A helloapp/HelloServlet.class B helloapp/WEB-INF/HelloServlet.class C helloapp/WEB-INF/classes/HelloServlet.class D helloapp/WEB-INF/classes/org/javathinker/HelloServlet.class 3、假设在helloapp应用中有一个HelloServlet类,它在web.xml文件中的

文档评论(0)

1亿VIP精品文档

相关文档