public class StrutsWildcardServletApplicationContext extends ServletApplicationContext
Constructor and Description |
---|
StrutsWildcardServletApplicationContext(javax.servlet.ServletContext context) |
Modifier and Type | Method and Description |
---|---|
protected Set<ApplicationResource> |
findResources(String path) |
ApplicationResource |
getResource(ApplicationResource base,
Locale locale)
Return a localized version of an ApplicationResource.
|
Collection<ApplicationResource> |
getResources(String path)
Return the application resources mapped to the specified path.
|
getApplicationScope, getContext, getInitParams, getResource
public StrutsWildcardServletApplicationContext(javax.servlet.ServletContext context)
public Collection<ApplicationResource> getResources(String path)
ServletApplicationContext
getResources
in interface ApplicationContext
getResources
in class ServletApplicationContext
path
- to the desired resource.public ApplicationResource getResource(ApplicationResource base, Locale locale)
ServletApplicationContext
getResource
in interface ApplicationContext
getResource
in class ServletApplicationContext
base
- the ApplicationResource.locale
- the desired Locale.protected Set<ApplicationResource> findResources(String path) throws IOException
IOException
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.