天天看點

jsp擷取web.xml 裡的配置項

    ServletContext servletContext = request.getSession().getServletContext();

                String title= servletContext.getInitParameter("title");