getRealFile

Attempts to find the actual file, on the file system, that would be provided by the servlet container for the
given path (which must start with a leading slash). This may return null if no such file exists, or if the
resource in question is packaged inside a WAR. If packaged inside a WAR, the contents may be accessed via getResource(String).

Parameters:

path - to the resource (with a leading slash)

Returns:

the underlying File, or null if no such file

getInitParameter

getResourcePaths

Looks for resources within the web application within the supplied path. The list will be recurively expanded, as
necessary. The path must start with a leading slash, and usually ends with a slash as well.

getAttributeNames

getMimeType

Returns the MIME content type of the specified file, or null if no content type is known. MIME types are built-in
to servlet containers and may be futher specified via the web application deployment descriptor.