Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public final class ServletContextCache extends Object
| Modifier and Type | Method and Description |
|---|---|
static ServletContextCache |
getCache(ServletContext servletContext)
Gets or creates the cache for the provided servlet context.
|
static String |
getRealPath(ServletContext servletContext,
String path) |
String |
getRealPath(String path) |
static URL |
getResource(ServletContext servletContext,
String path) |
URL |
getResource(String path)
Gets the possibly cached URL.
|
public static ServletContextCache getCache(ServletContext servletContext)
public URL getResource(String path) throws MalformedURLException
MalformedURLExceptionServletContext.getResource(java.lang.String)public static URL getResource(ServletContext servletContext, String path) throws MalformedURLException
MalformedURLExceptiongetResource(java.lang.String)public static String getRealPath(ServletContext servletContext, String path)
getRealPath(java.lang.String)Copyright © 2000–2016 AO Industries, Inc.. All rights reserved.