更多“The Web server knows how to (),(), and () the document to the requesting client. ”相关问题
  • 第1题:

    你在创建一个 Web 窗体。这个 Web 窗体允许用户计算值并在名为 lblResults 的 Label 控件中显示结果。你需要在 Web 窗体通过 Error 事件截获所有未处理的异常并显示异常在 Web 窗体上。你可以使用下面那个代码段实现?()

    A. protected void Page_Error(object sender, EventArgs e) { lblResults.Text = e.ToString();e=null;}

    B. protected void Page_Error(object sender, EventArgs e) { lblResults.Text =Server.GetLastError().ToStri();Server.ClearError();}

    C. protected void Page_Error(object sender, EventArgs e) Response.Write(e.ToString());e=null;}

    D. protected void Page_Error(object sender, EventArgs e) Response.Write(Server.GetLastError().ToString()); Server.ClearError();}


    参考答案:D

  • 第2题:

    Web的Client/Server工作环境中,起着控制作用的是( )。

    A.Web服务器

    B.Web浏览器

    C.Web客户端

    D.HTML语言


    正确答案:A
    解析:在WWW服务系统中,信息资源以页面(也称网页或Web页)的形式存储在Web服务器(通常称为Web站点)中,起控制作用的就是Web服务器。HTML是一种网页开发语言。

  • 第3题:

    Windows 2000操作系统集成的Web服务器软件是 ( ) 。

    A.Internet Information Server
    B.Appache] Httpd]
    C.WebsPhere] Application Server
    D.ONE] Web] Server

    答案:A
    解析:
    本题考查Windows 2000的基本概念。Internet Information Server是Windows 2000所提供的Web服务器软件;Appache Httpd是基于Linux平台的Web服务器软件 ?Websphere Application Server是基于IBM公司的UNIX服务器的Web服务器软件;One Web Server是基于Sun或HP公司UNIX服务器的Web服务器软件

  • 第4题:

    Whichpath,relativetoawebapplication’sroot,identifiesthewebapplication’sdeploymentdescriptor?()

    A./conf/web.xml

    B./WEB-INF/web.xml

    C./conf/server.xml

    D./META-INF/web.xml

    E./WEB-INF/rules.xml

    F./META-INF/server.Xml


    参考答案:B

  • 第5题:

    They' re petitioning for better facilities for the disabled on public transport.

    A: planning
    B: preparing
    C: looking
    D: requesting

    答案:D
    解析:
    句意:他们要求在公共交通方面为残疾人提供更好的设施。petition意为“请求”,re-quest意为“请求”,意思最为相近,故选D。 plan计划;prepare准备;look看。

  • 第6题:

    2、可以设置Tomcat默认端口的文件是()

    A.server.xml

    B.web.xml

    C.context.xml

    D.startup.bat


    Tomcat的conf目录中的server.xml