admin 管理员组

文章数量: 1087139


2024年1月5日发(作者:网页动画效果代码)

convertJsps(webXml); configureContext(webXml);}configureContext的实现:主要是从webxml中取出各种信息,然后填充到StandardContext中。private void configureContext(WebXml webxml) { ... for (Entry entry : textParams().entrySet()) { ameter((), ue()); }

...

for (ErrorPage errorPage : orPages().values()) { orPage(errorPage); } for (FilterDef filter : ters().values()) { if (ncSupported() == null) { ncSupported("false"); } terDef(filter); } for (FilterMap filterMap : terMappings()) { terMap(filterMap); } ConfigDescriptor(ConfigDescriptor()); for (String listener : teners()) { licationListener(listener); } for (Entry entry : aleEncodingMappings().entrySet()) { aleEncodingMappingParameter((), ue()); } // Prevents IAE if (inConfig() != null) { inConfig(inConfig()); } for (MessageDestinationRef mdr : sageDestinationRefs().values()) { ingResources().addMessageDestinationRef(mdr); } // messageDestinations were ignored in Tomcat 6, so ignore here oreAnnotations(dataComplete()); for (Entry entry : eMappings().entrySet()) { eMapping((), ue()); } ... for (ContextResource resource : ourceRefs().values()) { ingResources().addResource(resource); } boolean allAuthenticatedUsersIsAppRole = urityRoles().contains( _ALL_AUTHENTICATED_USERS); for (SecurityConstraint constraint : urityConstraints()) { if (allAuthenticatedUsersIsAppRole) { llAuthenticatedUsersAsApplicationRole(); } straint(constraint); } for (String role : urityRoles()) { urityRole(role);

urityRole(role); } for (ContextService service : viceRefs().values()) { ingResources().addService(service); } for (ServletDef servlet : vlets().values()) { Wrapper wrapper = Wrapper(); // Description is ignored // Display name is ignored // Icons are ignored // jsp-file gets passed to the JSP Servlet as an init-param if (dOnStartup() != null) { dOnStartup(dOnStartup().intValue()); } if (bled() != null) { bled(bled().booleanValue()); } e(vletName()); Map params = ameterMap(); for (Entry entry : et()) { tParameter((), ue()); } As(As()); Set roleRefs = urityRoleRefs(); for (SecurityRoleRef roleRef : roleRefs) { urityReference( e(), k()); } vletClass(vletClass()); MultipartDef multipartdef = tipartDef(); if (multipartdef != null) { if (FileSize() != null && RequestSize()!= null && eSizeThreshold() != null) { tipartConfigElement(new MultipartConfigElement( ation(), ong(FileSize()), ong(RequestSize()), nt( eSizeThreshold()))); } else { tipartConfigElement(new MultipartConfigElement( ation())); } } if (ncSupported() != null) { ncSupported( ncSupported().booleanValue()); } rridable(ridable()); ld(wrapper); } for (Entry entry : vletMappings().entrySet()) { vletMappingDecoded((), ue()); } SessionConfig sessionConfig = sionConfig(); if (sessionConfig != null) { if (sionTimeout() != null) { sionTimeout( sionTimeout().intValue()); } SessionCookieConfig scc = vletContext().getSessionCookieConfig();


本文标签: 是从 信息 取出 网页 效果