首先我不太明白context一词在计算机英文资料中具体什么意思,金山词霸解释:n.“上下文, 文章的前后关系”,但放在英文中啥意思啊??
  其次比如在英文servlet资料中“So most server implementations now load each web application context within a single class loader and use a new class loader to reload the entire context when any servlet in the context changes. ” 谁能帮我解释一下web application context是什么意思啊??

解决方案 »

  1.   

    应该是一个应用的过程,
    init() - service() -delete()(单个servlet)
    如果有很多地应用,差不过就是你服务器启动到结~~
    浅见~~
      

  2.   

    contest是环境、上下文的意思,如device contest 设备环境。
    计算机专业多翻译成“上下文”,窃以为翻译成“环境”更好!
    web application context就是网络应用程序环境
    So most server implementations now load each web application context within a single class loader and use a new class loader to reload the entire context when any servlet in the context changes
    整句话的意思是:所以,绝大多数的服务器实施方案是用单个类来下载网络应用程序环境,并且当环境中任何servlet发生改变的时候,用一个新的类来重新载入整个环境。
      

  3.   

    赞成bafferlo, 翻译成"环境"比较恰当. 可以把环境变量放在context里, 有点象全局变量.
    所有的servlet都可以读写.
      

  4.   

    servlet context的功能是读取所有的内容,servlet request只是读取request,两者是包含关系
      

  5.   

    device context 设备信息(资源,驱动,各类属性)集,context 使用了"链"的结构来存放信息.
      

  6.   

    上下文, 你也可以理解成环境
    比如说ServletContext, 就是说Servlet运行的环境, 也就是web容器.!