美斯坦福在线考试系统(Standford online examination system).doc

美斯坦福在线考试系统(Standford online examination system).doc

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
美斯坦福在线考试系统(Standford online examination system)

美斯坦福在线考试系统(Standford online examination system)American Standford online exam system testSubject: SCCEG2JSP total score: 100 minutes: 60 minutesFirst, a radio question (45 questions, 2 points each): choose a correct answer1,The Web application uses () protocol communication, which is the () protocolA, HTTP, statelessB, HTTP, statefulC, FTP, statelessD, FTP, statefulReference: A2,Browse the Web web service. The default port number is ()A, 80B, 8181C, 25D, 1433Reference: A3,In J2EE, if the web application's document root is book, the class file com.util.test.class should be in the () directoryA, book / class / COM / util / test.classB, book / WEB-INF / COM / util / test.classC, book / WEB-INF / classes / COM / util / test.classD, book / WEB-INF / lib / classes / COM / util / test.classReference: C4,The code that gets the request property named name value is ()A, request.setAttribute ("name")B, request.getAttribute ("name")C, request.getParameter ("name")D, response.getParameter ("name")Reference: B5,In J2EE, the code that specifies a Servlet is compiled and run as follows. The following statement is correct ()Public, class, Servletl, extends, HttpServlet{Public, void, init (), throws, ServletException{}Public void service (HttpServletRequestRequest, HttpServletResponse, response) throwsServletException, IOException{PrintWriter, out=response.getWriter ();Out.println ("Hello!");}}A, when compiling the file, indicates that the doGet () or doPost () method is missing and that the compilation cannot succeedB, compile, put the Servletl.class in the right place, run the Servlet, and see the output text in the browser: hello!C, after compiling, put Servletl.class in the right place and run the Servlet, and no output text can be seen in the browserD, compiles, puts the Servletl.class in the right place, runs the Servlet, and sees runtime error information in the browserReference: B6,Given a code snippet of Servlet, as follows:Public void doGet (HttpServerletRequestRequest, Htt

文档评论(0)

bodkd + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档