in tiles-request-portlet/src/main/java/org/apache/tiles/request/portlet/PortletApplicationContext.java [133:144]
public ApplicationResource getResource(ApplicationResource base, Locale locale) {
try {
URL url = context.getResource(base.getLocalePath(locale));
if (url != null) {
return new URLApplicationResource(base.getPath(), locale, url);
} else {
return null;
}
} catch (MalformedURLException e) {
return null;
}
}