02-ServletConfig,ServletContext
1. ServletConfig 接口作用和使用ServletConfig 接口,是一个配置对象,通过 web.xml 或 注解方式配置 Servlet 参数后,可以通过 ServletConfig 对象获取初始化参数。 1.1 ServletConfig API 详解12345678910public interface ServletConfig { //返回此 servlet 实例