Servlet接口中有哪些方法?

Servlet接口定义了5个方法:

1、void init(ServletConfig config) throws ServletException

2、void service(ServletRequest req, ServletResponse resp) throws ServletException, java.io.IOException

3、void destory()

4、java.lang.String getServletInfo()

5、ServletConfig getServletConfig()

Copyright © 2088 世界杯预选赛中国_1994年世界杯冠军是谁 - nywk120.com All Rights Reserved.
友情链接
Top