Class FileSystemItem

  • All Implemented Interfaces:
    Serializable, Servlet, ServletConfig

    public class FileSystemItem
    extends HttpServlet
    An item serving a file from the file system.

    This kind of QueryServlet item will load into the browser the file specified by the parameter uri. Its only purpose is to work around security problems that forbid in some browsers (e.g., Firefox) to link a file in the file system from a page retrieved from an HTTP server.

    When this class is loaded, it creates the singleton HttpFileServer and caches it to avoid class garbage collection.

    See Also:
    Serialized Form