webModule.setAttribute(Globals.JSP_PROPERTY_GROUPS_CONTEXT_ATTRIBUTE,
jspProperties);
webModule.setAttribute(Globals.WEB_XML_VERSION_CONTEXT_ATTRIBUTE,
wmd.getSpecVersion());
JspConfigDescriptor jspConfig = wmd.getJspConfigDescriptor();
if (jspConfig == null) {
return;
}
Enumeration<TagLibConfigurationDescriptor> taglibs
= jspConfig.getTagLibs();
if (taglibs != null) {
while (taglibs.hasMoreElements()) {
TagLibConfigurationDescriptor taglib = taglibs.nextElement();
webModule.addTaglib(taglib.getTagLibURI(),
taglib.getTagLibLocation());
}
}
Collection set = jspConfig.getJspGroupSet();
if (set.isEmpty()) {
return;
}
Iterator<JspGroupDescriptor> jspPropertyGroups = set.iterator();