}
private Set<URL> buildUrls() {
Set<URL> urls = CollectUtils.newHashSet();
Enumeration<URL> em;
ClassLoaderInterface classloader = getClassLoaderInterface();
try {
em = classloader.getResources("struts-plugin.xml");
while (em.hasMoreElements()) {
URL url = em.nextElement();
urls.add(new URL(substringBeforeLast(url.toExternalForm(), "struts-plugin.xml")));
}
em = classloader.getResources("struts.xml");
while (em.hasMoreElements()) {
URL url = em.nextElement();
urls.add(new URL(substringBeforeLast(url.toExternalForm(), "struts.xml")));
}
} catch (IOException e) {