servlet生命周期
来源:互联网 发布:java中类的用法 编辑:程序博客网 时间:2024/05/01 16:16
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
The life cycle of a servlet is controlled by the container in which the servlet has been deployed. When a request is mapped to a servlet, the container performs the following steps.
- If an instance of the servlet does not exist, the Web container
- Invokes the
service
method, passing a request and response object. Service methods are discussed in servlets7.html#64424">Writing Service Methods.
If the container needs to remove the servlet, it finalizes the servlet by calling the servlet's destroy
method. Finalization is discussed in servlets12.html#64798">Finalizing a servlet.
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- servlet生命周期
- Servlet 生命周期
- Servlet生命周期
- servlet生命周期
- Servlet生命周期
- Servlet生命周期
- Servlet生命周期
- servlet生命周期
- servlet生命周期!
- Servlet生命周期
- Servlet生命周期
- Servlet生命周期
- servlet生命周期
- Servlet生命周期
- Servlet生命周期
- servlet生命周期
- servlet生命周期
- servlet生命周期
- J2ME学习笔记(四)-----用特定的MIDP API开发MIDlets
- [J2SE 1.5]逐渐挖掘Autoboxing/Auto-Unboxing
- log4j使用: 自动设置备份文件
- Tomcat中通过JNDI配置访问数据库
- Java列表对象的性能分析和测试
- servlet生命周期
- 一种基于组件的跨WEB/手机/WINDOS/UNIX平台的多层开发
- SpringFramework(2)
- MSN机器人梦工厂(3)
- 软件过渡开发
- Eclipse使用技巧
- 在STRUTS中如何使用 标签
- log4j的配制及测试程序
- 如何成为一个成功的Jsp程序员?