The base package for serving resources.
The base package for serving resources. This way, resource names can't be spoofed
detect the Content-Type of file (path) with context-defined content-types (application's web.xml or container's configuration), and fall back to system or JVM-defined (FileNameMap) content types.
detect the Content-Type of file (path) with context-defined content-types (application's web.xml or container's configuration), and fall back to system or JVM-defined (FileNameMap) content types. if no content-type found, then return "application/octet-stream"
Resource name to be analyzed to detect MIME type
URLConnection # getFileNameMap ( )
HTTPContext # mimeType ( String )