通过ServletConfig接口的getInitParameter(java.lang.String name)方法 转载于:https://www.cnblogs.com/LoganChen/p/7027830.html