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

  • 7
  • 0
  • 约2.02万字
  • 约 19页
  • 2017-01-06 发布于北京
  • 举报
[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.

文档评论(0)

1亿VIP精品文档

相关文档