Tags
Archives
Tag Archives: context-param
web.xml中<context-param>与<init-param>的差别及各自的读取方式
使用ServletContext.getInitParameter()方法 可以获得web.xml中的
在Servlet的init()函数中使用this.getInitParameter()获得web.xml的
使用ServletContext.getInitParameter()方法 可以获得web.xml中的
在Servlet的init()函数中使用this.getInitParameter()获得web.xml的