摘要: Web容器在启动时,会为每个web程序都创建一个对应的ServletContext对象,他代表了当前的web应用。 提供的作用: 1、数据共享。 Servlet之间可以相互传值。用setAttribute() 和 getAttribute()方法 需要用 setContentType("text/h 阅读全文
posted @ 2022-05-26 19:46 信2005-2赵磊 阅读(25) 评论(0) 推荐(0)
摘要: 依赖管理 阅读全文
posted @ 2022-05-26 19:46 信2005-2赵磊 阅读(9) 评论(0) 推荐(0)